Re: [PATCH v12 0/2] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2024/1/12 6:24, Bill O'Donnell 写道:
On Thu, Jun 29, 2023 at 04:16:49PM +0800, Shiyang Ruan wrote:
This patchset is to add gracefully unbind support for pmem.
Patch1 corrects the calculation of length and end of a given range.
Patch2 introduces a new flag call MF_MEM_REMOVE, to let dax holder know
it is a remove event.  With the help of notify_failure mechanism, we are
able to shutdown the filesystem on the pmem gracefully.

What is the status of this patch?

Hi Bill,

This patch has just been merged.  You can find it here:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fa422b353d212373fb2b2857a5ea5a6fa4876f9c


--
Thanks,
Ruan.

Thanks-
Bill



Changes since v11:
  Patch1:
   1. correct the count calculation in xfs_failure_pgcnt().
       (was a wrong fix in v11)
  Patch2:
   1. use new exclusive freeze_super/thaw_super API, to make sure the unbind
       progress won't be disturbed by any other freezer.

Shiyang Ruan (2):
   xfs: fix the calculation for "end" and "length"
   mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

  drivers/dax/super.c         |  3 +-
  fs/xfs/xfs_notify_failure.c | 95 +++++++++++++++++++++++++++++++++----
  include/linux/mm.h          |  1 +
  mm/memory-failure.c         | 17 +++++--
  4 files changed, 101 insertions(+), 15 deletions(-)

--
2.40.1






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux