f2fs: introduce memory mode
authorDaeho Jeong <daehojeong@google.com>
Mon, 20 Jun 2022 17:38:42 +0000 (10:38 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 31 Jul 2022 03:16:12 +0000 (20:16 -0700)
commit7a8fc586180d8c57db5cc1e2acb32bb9986f642b
treea0728db61b8890aaf8a78474547c19c741b617fd
parent29be7ec3df7a3ed95584d39aa4014df0cd056991
f2fs: introduce memory mode

Introduce memory mode to supports "normal" and "low" memory modes.
"low" mode is to support low memory devices. Because of the nature of
low memory devices, in this mode, f2fs will try to save memory sometimes
by sacrificing performance. "normal" mode is the default mode and same
as before.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/filesystems/f2fs.rst
fs/f2fs/f2fs.h
fs/f2fs/super.c