Thread (11 messages) 11 messages, 3 authors, 2016-01-04
STALE3850d

[PATCH 3/4] nvme: fixes for NVME_IOCTL_IO_CMD on the char device

From: Keith Busch <hidden>
Date: 2016-01-04 15:08:48

On Thu, Dec 24, 2015@03:27:01PM +0100, Christoph Hellwig wrote:
Make sure we synchronize access to the namespaces list and grab a reference
to the namespace before doing I/O.  Make sure to reject the ioctl if multiple
namespaces are present as it's entirely unsafe, and warn when using it even
with a single namespace.

Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Sagi Grimberg <sagig at mellanox.com>
Okay, I accept the argument for allowing these to "hidden" namespaces
is not sufficiently justified.

Acked-by: Keith Busch <keith.busch at intel.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help