Skip to content

xfs: DAX support

Dave Chinner linux-xfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 2 repliesIn review
  2. v28 patches 20 repliesSuperseded
  3. v1 RFC6 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- swapped order of patches 4 and 5, as block zeroing has a dependency on the unwritten extent conversion infrastructure introduced in the file operations patch.
- added comments to xfs_iozero to indicate requirements for block allocation w.r.t. DAX.
- reworked file operations to use the new direct IO ioend completion infrastructure. This results in a mcuh cleaner patch as the DAX IO completion is now just a variant of the existing DIO completion code rather than being a unique snowflake.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8xfs: mmap lock needs to be inside freeze protectionfs/xfs/xfs_file.c+8 -30 replies
2/8dax: don't abuse get_block mapping for endio callbacksfs/dax.c fs/ext2/file.c fs/ext4/file.c +2 more+42 -260 replies
3/8dax: expose __dax_fault for filesystems with locking constraintsfs/dax.c include/linux/fs.h+17 -30 replies
4/8xfs: add DAX file operations supportfs/xfs/xfs_aops.c fs/xfs/xfs_aops.h fs/xfs/xfs_file.c+158 -831 reply
5/8xfs: add DAX block zeroing supportfs/xfs/xfs_bmap_util.c fs/xfs/xfs_file.c+44 -223 replies
6/8xfs: add DAX truncate supportfs/xfs/xfs_iops.c+5 -10 replies
7/8xfs: add DAX IO path supportfs/xfs/xfs_aops.c+27 -90 replies
8/8xfs: add initial DAX supportfs/xfs/xfs_iops.c fs/xfs/xfs_mount.h fs/xfs/xfs_super.c+37 -140 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchJan KaraBrian Foster
1/8R-b R-b
2/8A-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/8 v3] xfs: DAX support

Hi folks,

v3 of the patch set, with the review fixes to patches 4 and 5 having been made and tested. I've only posted this to the XFS list, as all the other patches have been acked/reviewed and only the two XFS patches still need review.

The patch passes xfstests on my ramdisk based test machines, as well as quite a lot of fsstress and fsx testing.

V3 changes:
- swapped order of patches 4 and 5, as block zeroing has a dependency on the unwritten extent conversion infrastructure introduced in the file operations patch.
- added comments to xfs_iozero to indicate requirements for block allocation w.r.t. DAX.
- reworked file operations to use the new direct IO ioend completion infrastructure. This results in a mcuh cleaner patch as the DAX IO completion is now just a variant of the existing DIO completion code rather than being a unique snowflake.

Comments welcome.

-Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs