Re: [PATCH 3/9] nvme: change namespaces_mutext to namespaces_rwsem

From: Sagi Grimberg
Date: Sun Feb 11 2018 - 06:18:03 EST


namespaces_mutext is used to synchronize the operations on ctrl
namespaces list. Most of the time, it is a read operation. It is
better to change it from mutex to rwsem.

On the other hand, the namespaces mutex could introduce circular
dependency easily.

On the other hand of what?

Also, can you give an example of such?