Re: [PATCH v8 0/3] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

From: Shiyang Ruan
Date: Wed Sep 14 2022 - 22:56:30 EST

在 2022/9/15 2:15, Darrick J. Wong 写道:
On Wed, Sep 14, 2022 at 11:09:23AM -0700, Darrick J. Wong wrote:
On Wed, Sep 07, 2022 at 05:46:00PM +0800, Shiyang Ruan wrote:

在 2022/9/2 18:35, Shiyang Ruan 写道:
Changes since v7:
1. Add P1 to fix calculation mistake
2. Add P2 to move drop_pagecache_sb() to super.c for xfs to use
3. P3: Add invalidate all mappings after sync.
4. P3: Set offset&len to be start&length of device when it is to be removed.
5. Rebase on 6.0-rc3 + Darrick's patch[1] + Dan's patch[2].

Changes since v6:
1. Rebase on 6.0-rc2 and Darrick's patch[1].


Just out of curiosity, is it your (or djbw's) intent to send all these
as bugfixes for 6.0 via akpm like all the other dax fixen?

Aha, this is 6.1 stuff, please ignore this question.

Actually I hope these patches can be merged ASAP. (But it seems a bit late for 6.0 now.)

And do you know which/whose branch has picked up your patch[1]? I cannot find it.




Shiyang Ruan (3):
xfs: fix the calculation of length and end
fs: move drop_pagecache_sb() for others to use
mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

drivers/dax/super.c | 3 ++-
fs/drop_caches.c | 33 ---------------------------------
fs/super.c | 34 ++++++++++++++++++++++++++++++++++
fs/xfs/xfs_notify_failure.c | 31 +++++++++++++++++++++++++++----
include/linux/fs.h | 1 +
include/linux/mm.h | 1 +
6 files changed, 65 insertions(+), 38 deletions(-)