[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4170b29e-693c-9c61-1b3b-716af09e44d0@grimberg.me>
Date: Sun, 11 Feb 2018 13:17:56 +0200
From: Sagi Grimberg <sagi@...mberg.me>
To: Jianchao Wang <jianchao.w.wang@...cle.com>, keith.busch@...el.com,
axboe@...com, hch@....de
Cc: linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/9] nvme: change namespaces_mutext to namespaces_rwsem
> 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?
Powered by blists - more mailing lists