commit | b0332a0f957ca818642cfafdb9515d4fd3b24663 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Feb 14 17:44:12 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Mar 19 11:41:25 2020 -0700 |
tree | 6ab579ac512b58b343c5e817b43b6336058bfaa6 | |
parent | a9117eca1de6b738e713d2142126db2cfbf6fb36 [diff] |
f2fs: clean up lfs/adaptive mount option This patch removes F2FS_MOUNT_ADAPTIVE and F2FS_MOUNT_LFS mount options, and add F2FS_OPTION.fs_mode with below two status to indicate filesystem mode. enum { FS_MODE_ADAPTIVE, /* use both lfs/ssr allocation */ FS_MODE_LFS, /* use lfs allocation only */ }; It can enhance code readability and fs mode's scalability. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>