[PATCH 2/4] nvme: synchronize access to ctrl->namespaces

Keith Busch keith.busch at intel.com
Mon Jan 4 07:10:45 PST 2016


On Thu, Dec 24, 2015 at 03:27:00PM +0100, Christoph Hellwig wrote:
> Currently traversal and modification of ctrl->namespaces happens completely
> unsynchronized, which can be fixed by the addition of a simple mutex.
> 
> Note: nvme_dev_ioctl will be handled in the next patch.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Sagi Grimberg <sagig at mellanox.com>

Looks good.

Acked-by: Keith Busch <keith.busch at intel.com>



More information about the Linux-nvme mailing list