Re: [PATCH v7 1/8] dax: Use rwsem for dax_{read,write}_lock()

2021-10-19 Thread Shiyang Ruan
在 2021/10/15 1:48, Darrick J. Wong 写道: On Fri, Sep 24, 2021 at 09:09:52PM +0800, Shiyang Ruan wrote: In order to introduce dax holder registration, we need a write lock for dax. Because of the rarity of notification failures and the infrequency of registration events, it would be better to b

Re: [PATCH v7 1/8] dax: Use rwsem for dax_{read,write}_lock()

2021-10-14 Thread Christoph Hellwig
On Fri, Sep 24, 2021 at 09:09:52PM +0800, Shiyang Ruan wrote: > In order to introduce dax holder registration, we need a write lock for > dax. Because of the rarity of notification failures and the infrequency > of registration events, it would be better to be a global lock rather > than per-devic

Re: [PATCH v7 1/8] dax: Use rwsem for dax_{read,write}_lock()

2021-10-14 Thread Darrick J. Wong
On Fri, Sep 24, 2021 at 09:09:52PM +0800, Shiyang Ruan wrote: > In order to introduce dax holder registration, we need a write lock for > dax. Because of the rarity of notification failures and the infrequency > of registration events, it would be better to be a global lock rather > than per-devic