summaryrefslogtreecommitdiff
path: root/drivers/block/mtip32xx
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-11-20 18:38:13 +0300
committerJens Axboe <axboe@fb.com>2015-11-20 18:38:13 +0300
commit604e8c8da8854351496215d269c3fa93859e3fee (patch)
tree6d3860193ac4eba815623aebaf342161542d4e62 /drivers/block/mtip32xx
parent2fde0e482db2b43bb4ed0e9aebfbe78ebcbbf5a6 (diff)
downloadlinux-604e8c8da8854351496215d269c3fa93859e3fee.tar.xz
NVMe: reap completion entries when deleting queue
Make sure that there are no unprocesssed entries on a completion queue before deleting it, and check for validity of the CQ door bell before writing completions to it. This fixes problems with doing a sysfs reset of the device while it's handling IO. Tested-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/mtip32xx')
0 files changed, 0 insertions, 0 deletions