Thread (3 messages) 3 messages, 3 authors, 2021-03-18

Re: [PATCH] nvmet: don't check iosqes,iocqes for discovery controllers

From: Chaitanya Kulkarni <hidden>
Date: 2021-03-16 03:38:49

On 3/15/21 15:34, Sagi Grimberg wrote:
From the base spec, Figure 78:
"Controller Configuration, these fields are defined as parameters to
configure an "I/O Controller (IOC)" and not to configure a "Discovery
Controller (DC)".
...
"If the controller does not support I/O queues, then this field shall
be read-only with a value of 0h"

Just have this check for I/O controllers.

Fixes: a07b4970f464 ("nvmet: add a generic NVMe target")
Reported-by: Belanger, Martin <redacted>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Looks good.

Reviewed-by: Chaitanya Kulkarni <redacted>



_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help