Files
Daniel Lee 0ea221d236 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: 432807936
(cherry picked from commit 1bd119da0b93d6d61891edf2b9d036800aba687f
 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: Daniel Lee <chullee@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2025-08-20 16:06:55 -07:00
..