-
- Downloads
ext4: optimize case-insensitive lookups
Temporarily cache a casefolded version of the file name under lookup in ext4_filename, to avoid repeatedly casefolding it. I got up to 30% speedup on lookups of large directories (>100k entries), depending on the length of the string under lookup. Signed-off-by:Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
Showing
- fs/ext4/dir.c 1 addition, 1 deletionfs/ext4/dir.c
- fs/ext4/ext4.h 36 additions, 3 deletionsfs/ext4/ext4.h
- fs/ext4/namei.c 38 additions, 5 deletionsfs/ext4/namei.c
- fs/unicode/utf8-core.c 28 additions, 0 deletionsfs/unicode/utf8-core.c
- include/linux/unicode.h 3 additions, 0 deletionsinclude/linux/unicode.h
Loading
Please register or sign in to comment