aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-02-21 10:04:55 +0100
committerJens Axboe <axboe@fb.com>2017-02-21 12:51:54 -0700
commitee5242360424b9b967454e9183767323d10cf985 (patch)
tree2500c4a89cae0d5363fe930ffeb2ff14626babb2 /drivers/block
parentMerge tag 'for-4.11/linus-merge-signed' of git://git.kernel.dk/linux-block (diff)
downloadlinux-dev-ee5242360424b9b967454e9183767323d10cf985.tar.xz
linux-dev-ee5242360424b9b967454e9183767323d10cf985.zip
scsi: zero per-cmd driver data before each I/O
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@lst.de> Reported-by: Dexuan Cui <decui@microsoft.com> Tested-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions