[PATCH 1/5] NVMe: Fix admin queue ring wrap

Christoph Hellwig hch at infradead.org
Wed Dec 30 09:49:54 PST 2015


On Wed, Dec 30, 2015 at 10:27:47AM -0700, Keith Busch wrote:
> 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.

You'll need to change NVME_AQ_DEPTH to make sure the magic for the
AEN commands still work.

But can you explain the actual issue a little more while we're at it?
Preferably in a comment in the code!



More information about the Linux-nvme mailing list