Re: [PATCH 3/9] nvme: change namespaces_mutext to namespaces_rwsem
From
Sagi Grimberg <>
Date
Sun, 11 Feb 2018 13:17:56 +0200
> 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.