]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: add reserved nodes for privileged users
authorChunhai Guo <guochunhai@vivo.com>
Thu, 7 Aug 2025 13:35:01 +0000 (21:35 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 20 Aug 2025 17:44:10 +0000 (17:44 +0000)
commit2141879369681ff899a6a0857eef8bded785a5b5
treed86f95ca147454585e9a1f16393703b52016e2da
parent00798cd24f014fe55cbcdfeac4bab19ad6cd2bcb
f2fs: add reserved nodes for privileged users

This patch allows privileged users to reserve nodes via the
'reserve_node' mount option, which is similar to the existing
'reserve_root' option.

"-o reserve_node=<N>" means <N> nodes are reserved for privileged
users only.

Signed-off-by: Chunhai Guo <guochunhai@vivo.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