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. --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(-) > > >