Re: [PATCH] dax: Fix xarray entry association for mixed mappings

2019-06-06 Thread Jan Kara
On Thu 06-06-19 10:00:01, Dan Williams wrote: > On Thu, Jun 6, 2019 at 2:10 AM Jan Kara wrote: > > > > When inserting entry into xarray, we store mapping and index in > > corresponding struct pages for memory error handling. When it happened > > that one process was mapping file at PMD granularity

Re: [PATCH] dax: Fix xarray entry association for mixed mappings

2019-06-06 Thread Dan Williams
On Thu, Jun 6, 2019 at 2:10 AM Jan Kara wrote: > > When inserting entry into xarray, we store mapping and index in > corresponding struct pages for memory error handling. When it happened > that one process was mapping file at PMD granularity while another > process at PTE granularity, we could wr

[PATCH] dax: Fix xarray entry association for mixed mappings

2019-06-06 Thread Jan Kara
When inserting entry into xarray, we store mapping and index in corresponding struct pages for memory error handling. When it happened that one process was mapping file at PMD granularity while another process at PTE granularity, we could wrongly deassociate PMD range and then reassociate PTE range