f2fs: support to disable linear lookup fallback
After commit 91b587ba ("f2fs: Introduce linear search for dentries"), f2fs forced to use linear lookup whenever a hash-based lookup fails on casefolded directory, it may affect performance for scenarios: a) create a new file w/ filename it doesn't exist in directory, b) lookup a file which may be removed. This patch supports to disable linear lookup fallback, so, once there is a solution for commit 5c26d2f1 ("unicode: Don't special case ignorable code points") to fix red heart unicode issue, then we can set an encodeing flag to disable the fallback for performance recovery. The way is kept in line w/ ext4, refer to commit 9e28059d ("ext4: introduce linear search for dentries"). Cc: Daniel Lee <chullee@google.com> Cc: Gabriel Krisman Bertazi <krisman@suse.de> Signed-off-by:Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org>
Loading
-
mentioned in commit fce2f929
-
mentioned in commit a3e132e5
-
mentioned in commit af8411db
-
mentioned in commit d2df0606
-
mentioned in commit d79885bd
-
mentioned in commit f1dd0b7b
-
mentioned in commit cf363a17
-
mentioned in commit 1bda8e1c
-
mentioned in commit 86c815fd
-
mentioned in commit 4b165371
-
mentioned in commit 0d62a618
-
mentioned in commit d32955d5
-
mentioned in commit 03b1e841
-
mentioned in commit 4f12a17f
-
mentioned in commit fd373821
Please sign in to comment