diff options
| author | Gabriel Krisman Bertazi <[email protected]> | 2019-06-20 03:45:09 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2019-06-20 03:45:09 +0000 |
| commit | 3ae72562ad917df36a1b1247d749240e3b4865db (patch) | |
| tree | c458ce5abc17452b19e2ecc06ce7d46841d5ec63 /fs/jbd2/commit.c | |
| parent | ext4: make __ext4_get_inode_loc plug (diff) | |
| download | kernel-3ae72562ad917df36a1b1247d749240e3b4865db.tar.gz kernel-3ae72562ad917df36a1b1247d749240e3b4865db.zip | |
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 <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
