Skip to content

Try exact-match comparison ahead of case-insensitive match

Gabriel Krisman Bertazi linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 3 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dcache: Expose dentry_string_cmp outside of dcachefs/dcache.c include/linux/dcache.h+53 -536 replies
2/2libfs: Attempt exact-match comparison first during casefold lookupfs/libfs.c+22 -170 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] Try exact-match comparison ahead of case-insensitive match

Linus, Al, Eric,

This small series implement the exact-match comparison ahead of the case-insensitive comparison as suggested by Linus. The first patch only exposes dentry_string_cmp in a header file so we can use it instead of memcmp and the second actually do the optimization in the case-insensitive comparison code.

Gabriel Krisman Bertazi (2):
dcache: Expose dentry_string_cmp outside of dcache
libfs: Attempt exact-match comparison first during casefold lookup

 fs/dcache.c            | 53 ------------------------------------------
 fs/libfs.c             | 39 +++++++++++++++++--------------
 include/linux/dcache.h | 53 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 75 insertions(+), 70 deletions(-)
Signature · 1 line
2.43.0