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

From: Shiyang Ruan
Date: Wed Sep 07 2022 - 05:46:21 EST


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/

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