]> 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)
commitc9de30b9df0c43775885346c9a7a0858f0600fcb
treea0728db61b8890aaf8a78474547c19c741b617fd
parentfdec6721f6eb3e179d1eba0c6c1281faa0334a38
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