Skip to content

ext4: inline data cleanup

Thadeu Lima de Souza Cascardo linux-ext4 lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ext4: inline: remove extra size check when writing datafs/ext4/inline.c+0 -30 replies
2/5ext4: inline: use cached i_inline_size instead of e_value_sizefs/ext4/inline.c+2 -40 replies
3/5ext4: introduce wrapper to read data from inodefs/ext4/inline.c+59 -510 replies
4/5ext4: add a wrapper to update i_inline_off and i_inline_sizefs/ext4/inline.c+14 -110 replies
5/5ext4: make i_inline_off point to datafs/ext4/inline.c+11 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ext4: inline data cleanup

This series starts some cleanup of the inline data support, making it easier to handle cases where the disk data is changed underneath the system.

They were tested with some test cases that have good coverage with both regular files and directories (indexed and not).

A few syzkaller or hand-written reproducers have also been tested and shown not to crash the system anymore, but mount the filesystem read-only, failing with -EUCLEAN.

Thadeu Lima de Souza Cascardo (5):
ext4: inline: remove extra size check when writing data
ext4: inline: use cached i_inline_size instead of e_value_size
ext4: introduce wrapper to read data from inode
ext4: add a wrapper to update i_inline_off and i_inline_size
ext4: make i_inline_off point to data

 fs/ext4/inline.c | 176 ++++++++++++++++++++++-------------------------
 1 file changed, 84 insertions(+), 92 deletions(-)
Signature · 1 line
2.34.1