Re: [PATCH v2] scsi: zero per-cmd driver data before each I/O

2017-02-21 Thread Jens Axboe
On 02/21/2017 02:04 AM, Christoph Hellwig wrote: > Without this drivers that don't clear the state themselves can see off > effects. For example Hyper-V VMs using the storvsc driver will often > hang during boot due to uncleared Test Unit Ready failures. > > Fixes: e9c787e6 ("scsi: allocate scsi_

Re: [PATCH v2] scsi: zero per-cmd driver data before each I/O

2017-02-21 Thread Bart Van Assche
On 02/21/2017 01:29 AM, Christoph Hellwig wrote: > Without this drivers that don't clear the state themselves can see off > effects. For example Hyper-V VMs using the storvsc driver will often > hang during boot due to uncleared Test Unit Ready failures. > > Fixes: e9c787e6 ("scsi: allocate scsi_

[PATCH v2] scsi: zero per-cmd driver data before each I/O

2017-02-21 Thread Christoph Hellwig
Without this drivers that don't clear the state themselves can see off effects. For example Hyper-V VMs using the storvsc driver will often hang during boot due to uncleared Test Unit Ready failures. Fixes: e9c787e6 ("scsi: allocate scsi_cmnd structures as part of struct request") Signed-off-by: