Re: [PATCH] scsi: zero per-cmd driver data for each MQ I/O
From: Bart Van Assche
Date: Mon May 15 2017 - 20:01:06 EST
On Mon, 2017-05-15 at 23:32 +0000, Long Li wrote:
> Thanks for looking! Yes this is for chasing a bug.
>
> With the patch, we also zero the private data used by lower layer driver, in
> addition to the private data in scsi_cmnd.
Hello Long,
What bug did you encounter, with which combination of ULP (sd?) and LLD SCSI
driver(s) and for which request type (REQ_OP_*)? You will have to mention that
information in the patch description anyway if you want your patch to get
accepted.
If the bug that you encountered only occurs with a single LLD, would it be
possible to implement a fix by modifying the LLD instead of the SCSI core?
Thanks,
Bart.