mbox series

[v2,0/3] fsdax: Factor helper functions to simplify the code

Message ID 20210407133823.828176-1-ruansy.fnst@fujitsu.com (mailing list archive)
Headers show
Series fsdax: Factor helper functions to simplify the code | expand

Message

Shiyang Ruan April 7, 2021, 1:38 p.m. UTC
The page fault part of fsdax code is little complex. In order to add CoW
feature and make it easy to understand, I was suggested to factor some
helper functions to simplify the current dax code.

This is separated from the previous patchset called "V3 fsdax,xfs: Add
reflink&dedupe support for fsdax", and the previous comments are here[1].

[1]: https://patchwork.kernel.org/project/linux-nvdimm/patch/20210319015237.993880-3-ruansy.fnst@fujitsu.com/

Changes from V1:
 - fix Ritesh's email address
 - simplify return logic in  dax_fault_cow_page()

(Rebased on v5.12-rc5)
==

Shiyang Ruan (3):
  fsdax: Factor helpers to simplify dax fault code
  fsdax: Factor helper: dax_fault_actor()
  fsdax: Output address in dax_iomap_pfn() and rename it

 fs/dax.c | 439 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 232 insertions(+), 207 deletions(-)