Skip to content

add ext4 per-inode DAX flag

Ross Zwisler linux-ext4 linux-nvdimm linux-xfs lkml nvdimm stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ext4: remove duplicate extended attributes defsfs/ext4/ext4.h+0 -371 reply
2/9xfs: always use DAX if mount option is usedfs/xfs/xfs_ioctl.c+9 -20 replies
3/9xfs: validate bdev support for DAX inode flagfs/xfs/xfs_ioctl.c+2 -10 replies
4/9ext4: add ext4_should_use_dax()fs/ext4/ext4_jbd2.h fs/ext4/inode.c+16 -30 replies
5/9ext4: ext4_change_inode_journal_flag error handlingfs/ext4/inode.c+13 -110 replies
6/9ext4: safely transition S_DAX on journaling changesfs/ext4/inode.c+15 -102 replies
7/9ext4: prevent data corruption with inline data + DAXfs/ext4/inline.c fs/ext4/super.c+5 -102 replies
8/9ext4: add sanity check for encryption + DAXfs/ext4/super.c+3 -00 replies
9/9ext4: add per-inode DAX flagfs/ext4/ext4.h fs/ext4/ext4_jbd2.h fs/ext4/inode.c +1 more+63 -90 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchJan Kara
1/9R-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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

Read the v1 thread

Cover letter [PATCH 0/9] add ext4 per-inode DAX flag

The original intent of this series was to add a per-inode DAX flag to ext4 so that it would be consistent with XFS. In my travels I found and fixed several related issues in both ext4 and XFS.

I'm not fully happy with the ways that ext4 DAX interacts with conflicting features (journaling, inline data and encryption). My goal with this series was to make all these interactions as consistent as possilble, and of course to make them safe. If anyone has ideas for improvements, I'm very open.

Ross Zwisler (9):
ext4: remove duplicate extended attributes defs
xfs: always use DAX if mount option is used
xfs: validate bdev support for DAX inode flag
ext4: add ext4_should_use_dax()
ext4: ext4_change_inode_journal_flag error handling
ext4: safely transition S_DAX on journaling changes
ext4: prevent data corruption with inline data + DAX
ext4: add sanity check for encryption + DAX
ext4: add per-inode DAX flag

 fs/ext4/ext4.h      | 47 ++++++---------------------------------------
 fs/ext4/ext4_jbd2.h | 16 ++++++++++++++++
 fs/ext4/inline.c    | 10 ----------
 fs/ext4/inode.c     | 45 ++++++++++++++++++++++++-------------------
 fs/ext4/ioctl.c     | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 fs/ext4/super.c     |  8 ++++++++
 fs/xfs/xfs_ioctl.c  | 14 +++++++++++---
 7 files changed, 119 insertions(+), 76 deletions(-)
Signature · 6 lines
2.9.5

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm