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 <[email protected]>
> Reported-by: Dexuan Cui <[email protected]>
> Tested-by: Dexuan Cui <[email protected]>
> ---
>
> 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