https://github.com/torvalds/linux
Revision 604e8c8da8854351496215d269c3fa93859e3fee authored by Keith Busch on 20 November 2015, 15:38:13 UTC, committed by Jens Axboe on 20 November 2015, 15:38:13 UTC
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>
1 parent 2fde0e4
History
Tip revision: 604e8c8da8854351496215d269c3fa93859e3fee authored by Keith Busch on 20 November 2015, 15:38:13 UTC
NVMe: reap completion entries when deleting queue
Tip revision: 604e8c8
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 327.8 KB
Makefile -rw-r--r-- 53.5 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top