Re: [PATCH v10 5/9] fsdax: Introduce dax_load_page()

2022-02-15 Thread Dan Williams
On Tue, Feb 15, 2022 at 7:02 PM Shiyang Ruan wrote: > > > > 在 2022/2/16 9:34, Dan Williams 写道: > > On Thu, Jan 27, 2022 at 4:41 AM Shiyang Ruan > > wrote: > >> > >> The current dax_lock_page() locks dax entry by obtaining mapping and > >> index in page. To support 1-to-N RMAP in NVDIMM, we

Re: [PATCH v10 5/9] fsdax: Introduce dax_load_page()

2022-02-15 Thread Shiyang Ruan
在 2022/2/16 9:34, Dan Williams 写道: On Thu, Jan 27, 2022 at 4:41 AM Shiyang Ruan wrote: The current dax_lock_page() locks dax entry by obtaining mapping and index in page. To support 1-to-N RMAP in NVDIMM, we need a new function to lock a specific dax entry I do not see a call to

Re: [PATCH v10 5/9] fsdax: Introduce dax_load_page()

2022-02-15 Thread Dan Williams
On Thu, Jan 27, 2022 at 4:41 AM Shiyang Ruan wrote: > > The current dax_lock_page() locks dax entry by obtaining mapping and > index in page. To support 1-to-N RMAP in NVDIMM, we need a new function > to lock a specific dax entry I do not see a call to dax_lock_entry() in this function, what

[PATCH v10 5/9] fsdax: Introduce dax_load_page()

2022-01-27 Thread Shiyang Ruan
The current dax_lock_page() locks dax entry by obtaining mapping and index in page. To support 1-to-N RMAP in NVDIMM, we need a new function to lock a specific dax entry corresponding to this file's mapping,index. And output the page corresponding to the specific dax entry for caller use.