]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3207568a8bd02391ad3f431fd8134591e383c70
treea0728db61b8890aaf8a78474547c19c741b617fd
parent81b6fedaf2cb9d48fd0cf6ce940e554aa02b51b5
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