Thread (13 messages) 13 messages, 2 authors, 2020-02-10
STALE2338d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 0/3] e2fsprogs: Better handling of indexed directories

From: Jan Kara <jack@suse.cz>
Date: 2020-02-05 10:39:25

Hello,

Currently, libext2fs does not implement adding entry into htree directory. It
just bluntly clears EXT2_INDEX_FL and then treats the directory as non-indexed.
This breaks when metadata checksums are enabled and although ext2fs_link()
tries to fixup the directory, it doesn't always fixup all the checksums and
I have some doubts about practicality of just discarding htree information for
really large directories. This patch series implements full support for adding
entry into htree directory and some tests to test the functionality. The
first patch in the series is somewhat unrelated, it just clarifies handling
of overflown directory i_nlink handling in e2fsck which confused me initially
when analyzing the issue.

								Honza
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help