Re: [PATCH v11 1/8] dax: Introduce holder for dax_device

2022-03-11 Thread Dan Williams
On Sun, Feb 27, 2022 at 4:08 AM Shiyang Ruan wrote: > > To easily track filesystem from a pmem device, we introduce a holder for > dax_device structure, and also its operation. This holder is used to > remember who is using this dax_device: > - When it is the backend of a filesystem, the holder

Re: [PATCH v4 5/6] dax: fix missing writeprotect the pte entry

2022-03-11 Thread Muchun Song
On Thu, Mar 10, 2022 at 8:59 AM Dan Williams wrote: > > On Wed, Mar 2, 2022 at 12:30 AM Muchun Song wrote: > > > > Currently dax_mapping_entry_mkclean() fails to clean and write protect > > the pte entry within a DAX PMD entry during an *sync operation. This > > can result in data loss in the fol