]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: add sysfs entry for effective lookup mode
authorDaniel Lee <chullee@google.com>
Tue, 5 Aug 2025 06:52:27 +0000 (23:52 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 11 Aug 2025 17:03:53 +0000 (17:03 +0000)
commit1bd119da0b93d6d61891edf2b9d036800aba687f
treebe6508188b447198f65db855294314e6c34eec43
parent632f0b6c3e32758e5c93d4e3c2860a3708b9853e
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.

Signed-off-by: Daniel Lee <chullee@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/sysfs.c