On 11/16/19 5:31 PM, Christoph Hellwig wrote:
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.
Ok, will do so.
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)