mbox series

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

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


Shiyang Ruan July 2, 2021, 9:23 a.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" as suggested[1].

[1]: https://lore.kernel.org/linux-xfs/20210402074936.GB7057@lst.de/

Changes from previous V3:
 - Rebased on v5.13
 - Add Darrick's Reviewed-by

Changes from V2:
 - fix the type of 'major' in patch 2
 - Rebased on v5.12-rc8

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

(Rebased on v5.13)

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 | 443 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 234 insertions(+), 209 deletions(-)