Commit 611e5a4f authored by Daniel Lee's avatar Daniel Lee Committed by Jhih-Chen Huang (xWF)
Browse files

BACKPORT: FROMGIT: f2fs: add sysfs entry for effective lookup mode

This commit introduces a new read-only sysfs entry at
/sys/fs/f2fs/<device>/effective_lookup_mode.

This entry displays the actual directory lookup mode F2FS is
currently using. This is needed for debugging and verification,
as the behavior is determined by both on-disk flags and mount
options.

Bug: 439513881
Bug: 432807936
Bug: 441173933
Bug: 443659718
(cherry picked from commit 1bd119da
 https: //git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Link: https://lore.kernel.org/linux-f2fs-devel/20250805065228.1473089-1-chullee@google.com/


Change-Id: Iabb9548bb9f73ef42d46ed0506a0372ec37e75d8
[chullee: resolved merge conflicts in the document]
Signed-off-by: default avatarDaniel Lee <chullee@google.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 8c91b368)
parent 8c2f3782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment