]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NVMe: Fix admin queue ring wrap
authorKeith Busch <keith.busch@intel.com>
Mon, 4 Jan 2016 16:10:55 +0000 (09:10 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 20:33:33 +0000 (13:33 -0700)
commite3e9d50cd6ed392bb716e35c134d1e82707c51b4
treef661137d04089a35834a17034d2aebab8fef8196
parent4490733250b8b272a6d3e66352dd7b8025409549
NVMe: Fix admin queue ring wrap

The tag set queue depth needs to be one less than the h/w queue depth
so we don't wrap the circular buffer. This conforms to the specification
defined "Full Queue" condition.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c