Re: [dm-devel] [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-06-18 Thread ruansy.f...@fujitsu.com
> -Original Message- > From: Dan Williams > Subject: Re: [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for > dax mapping > > [ drop old nvdimm list, add the new one ] > > On Thu, Jun 3, 2021 at 6:19 PM Shiyang Ruan wrote: > > > > The current memory_failure_dev_pagemap()

Re: [dm-devel] [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-06-16 Thread Dan Williams
[ drop old nvdimm list, add the new one ] On Thu, Jun 3, 2021 at 6:19 PM Shiyang Ruan wrote: > > The current memory_failure_dev_pagemap() can only handle single-mapped > dax page for fsdax mode. The dax page could be mapped by multiple files > and offsets if we let reflink feature & fsdax mode

[dm-devel] [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-06-04 Thread Shiyang Ruan
The current memory_failure_dev_pagemap() can only handle single-mapped dax page for fsdax mode. The dax page could be mapped by multiple files and offsets if we let reflink feature & fsdax mode work together. So, we refactor current implementation to support handle memory failure on each file