Data in direntry (dirdata) feature
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ext4: make dirdata work with metadata_csumfs/ | +89 | 0 replies | |
| 2/3 | ext4: add dirdata support structures and helpersfs/ | +119 | 0 replies | |
| 3/3 | ext4: dirdata featurefs/ fs/ fs/ +3 more | +219 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andreas Dilger | [email protected] |
|---|---|---|
| Series | T-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Data in direntry (dirdata) feature
EXT4 currently stores a hash in the directory entry (dirent) immediately after the file name to support simultaneous fscrypt and casefold functionality.
It has been discussed within the EXT4 community that this hash could instead be stored in dirdata. This would make it the second (or third, in the case of 64-bit inode counts) user of dirdata.
At the same time, the existing format—where the hash is placed after the file name—must continue to be supported. With these patches, EXT4 can handle the hash in both formats.
The first user of this feature, LUFID, has been tested in the Lustre filesystem backend (LDISKFS) [1].
Support for fscrypt and case-insensitive directories with dirdata enabled has been verified using a dedicated xfstest submitted to the EXT4 community as a separate patch.
e2fsprogs support is provided in a separate patch.
[1] https://review.whamcloud.com/c/fs/lustre-release/+/64439
Artem Blagodarenko (3):
ext4: make dirdata work with metadata_csum
ext4: add dirdata support structures and helpers
ext4: dirdata feature
fs/ext4/dir.c | 9 +- fs/ext4/ext4.h | 169 +++++++++++++++++++-- fs/ext4/inline.c | 22 +-- fs/ext4/namei.c | 379 ++++++++++++++++++++++++++++++----------------- fs/ext4/super.c | 4 +- fs/ext4/sysfs.c | 2 + 6 files changed, 422 insertions(+), 163 deletions(-)
Signature · 1 line
2.43.5