[PATCH 3/9] nvme: change namespaces_mutext to namespaces_rwsem
Sagi Grimberg
sagi at grimberg.me
Sun Feb 11 03:17:56 PST 2018
> 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?
More information about the Linux-nvme
mailing list