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_cmnd structures as part of struct request") > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reported-by: Dexuan Cui <decui@xxxxxxxxxxxxx> > Tested-by: Dexuan Cui <decui@xxxxxxxxxxxxx> > --- > > Changes since V1: > - use a single memset as suggested by Bart That's much better. I'll queue this up for the next pull in this merge window. -- Jens Axboe