21 Feb, 2020

1 commit

  • This adds a case insensitive hash function to allow taking the hash
    without needing to allocate a casefolded copy of the string.

    Signed-off-by: Daniel Rosenberg
    Test: Boots, /data/media is case insensitive
    Bug: 138322712
    Link: https://lore.kernel.org/linux-f2fs-devel/20200208013552.241832-1-drosen@google.com/T/#t
    Change-Id: I43c7d38a8e22f4479397f35e6343bd326901cdba

    Daniel Rosenberg
     

20 Jun, 2019

1 commit

  • 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
    Signed-off-by: Theodore Ts'o

    Gabriel Krisman Bertazi
     

26 Apr, 2019

1 commit

  • This patch integrates the utf8n patches with some higher level API to
    perform UTF-8 string comparison, normalization and casefolding
    operations. Implemented is a variation of NFD, and casefold is
    performed by doing full casefold on top of NFD. These algorithms are
    based on the core implemented by Olaf Weber from SGI.

    Signed-off-by: Gabriel Krisman Bertazi
    Signed-off-by: Theodore Ts'o

    Gabriel Krisman Bertazi