[PATCH] nvmet: allow setting ctrl to ready without iosqes/iocqes set
Christoph Hellwig
hch at lst.de
Tue May 4 10:12:36 BST 2021
On Sun, May 02, 2021 at 06:31:06PM +0300, ran.anner at dell.com wrote:
> From: Ran Anner <Ran.Anner at dell.com>
>
> According to the spec we should fail creation of IO queues
> if iosqes or iocqes properties are not set but does not mention
> preventing from changing ctrl status to ready.
> We have seen host implementation which sets the property to 0x1
> and waits endlessly until ctrl status changes to ready.
So is that for a discovery controller? The spec says the field shall
be read-only for them, although we don't reject writes to the property
right now.
More information about the Linux-nvme
mailing list