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

From: Darrick J. Wong
Date: Fri Sep 16 2022 - 11:44:01 EST


On Thu, Sep 15, 2022 at 10:56:09AM +0800, Shiyang Ruan wrote:
>
>
> 在 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:
> > > > ping
> > > >
> > > > 在 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].
> > > > >
> > > > > [1]: https://lore.kernel.org/linux-xfs/Yv5wIa2crHioYeRr@magnolia/
> > > > > [2]: https://lore.kernel.org/linux-xfs/166153426798.2758201.15108211981034512993.stgit@xxxxxxxxxxxxxxxxxxxxxxxxx/
> > >
> > > 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.

It's not upstream, though the maintainer (Dave currently) reviewed it.
I don't know if he hasn't had time to put together a fixes branch or if
he's simply punting all the queued up stuff to 6.1.

(Dave?)

--D

>
> --
> Thanks,
> Ruan.
>
> >
> > --D
> >
> > > --D
> > >
> > > > >
> > > > > 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(-)
> > > > >