Namespace removal deadlock in case of namespace detach command

Ming Lin mlin at kernel.org
Mon Apr 18 10:52:39 PDT 2016


On Mon, Apr 18, 2016 at 7:57 AM, Keith Busch <keith.busch at intel.com> wrote:
> On Mon, Apr 18, 2016 at 12:00:51PM +0000, Sunad Bhandary S wrote:
>> On receipt of a namespace attribute changed AER, we acquire the namespace mutex lock before proceeding to scan and validate the namespace list.
>> In case of namespace detach/delete command, nvme_ns_remove function deadlocks trying to acquire the already held lock.
>
> You're right, thanks for the catch. Do you have a fix, or should we
> propose one?

We have a fix in nvme over fabrics tree.
Let me post here soon.



More information about the Linux-nvme mailing list