mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] ext4: inline data cleanup
@ 2024-12-06 17:28 Thadeu Lima de Souza Cascardo
  2024-12-06 17:28 ` [PATCH 1/5] ext4: inline: remove extra size check when writing data Thadeu Lima de Souza Cascardo
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2024-12-06 17:28 UTC (permalink / raw)
  To: linux-ext4
  Cc: Theodore Ts'o, Andreas Dilger, linux-kernel, kernel-dev,
	Thadeu Lima de Souza Cascardo

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-06 17:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-06 17:28 [PATCH 0/5] ext4: inline data cleanup Thadeu Lima de Souza Cascardo
2024-12-06 17:28 ` [PATCH 1/5] ext4: inline: remove extra size check when writing data Thadeu Lima de Souza Cascardo
2024-12-06 17:28 ` [PATCH 2/5] ext4: inline: use cached i_inline_size instead of e_value_size Thadeu Lima de Souza Cascardo
2024-12-06 17:28 ` [PATCH 3/5] ext4: introduce wrapper to read data from inode Thadeu Lima de Souza Cascardo
2024-12-06 17:28 ` [PATCH 4/5] ext4: add a wrapper to update i_inline_off and i_inline_size Thadeu Lima de Souza Cascardo
2024-12-06 17:28 ` [PATCH 5/5] ext4: make i_inline_off point to data Thadeu Lima de Souza Cascardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®