On Fri, Nov 15, 2019 at 01:27:54PM +0100, Hannes Reinecke wrote: > + cmd->result = (DID_OK << 16) | SAM_STAT_TASK_SET_FULL; > + cmd->scsi_done(cmd); > > + return true; > +} > + > +static void adpt_fail_posted_scbs(adpt_hba* pHba) > +{ > + scsi_host_busy_iter(pHba->host, fail_posted_scbs_iter, NULL); I still think that SAM_STAT_TASK_SET_FULL is a very strange error here, and that we should have a helper like adpt_fail_posted_scbs in the core SCSI code. Also your * placement is wrong above.