Re: [RFC PATCH v6] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

2022-08-18 Thread Darrick J. Wong
On Thu, Aug 18, 2022 at 07:19:28PM +0800, Shiyang Ruan wrote: > > > 在 2022/8/3 12:33, Darrick J. Wong 写道: > > On Wed, Aug 03, 2022 at 02:43:20AM +, ruansy.f...@fujitsu.com wrote: > > > > > > 在 2022/7/19 6:56, Dan Williams 写道: > > > > Darrick J. Wong wrote: > > > > > On Thu, Jul 14, 2022 at

[PATCH] xfs: on memory failure, only shut down fs after scanning all mappings

2022-08-18 Thread Darrick J. Wong
From: Darrick J. Wong xfs_dax_failure_fn is used to scan the filesystem during a memory failure event to look for memory mappings to revoke. Unfortunately, if it encounters an rmap record for filesystem metadata, it will shut down the filesystem and the scan immediately. This means that we

Re: [RFC PATCH v6] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

2022-08-18 Thread Shiyang Ruan
在 2022/8/3 12:33, Darrick J. Wong 写道: On Wed, Aug 03, 2022 at 02:43:20AM +, ruansy.f...@fujitsu.com wrote: 在 2022/7/19 6:56, Dan Williams 写道: Darrick J. Wong wrote: On Thu, Jul 14, 2022 at 11:21:44AM -0700, Dan Williams wrote: ruansy.f...@fujitsu.com wrote: This patch is inspired by