]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: pin files do not require sbi->writepages lock for ordering
authorYongpeng Yang <yangyongpeng@xiaomi.com>
Thu, 15 Jan 2026 16:47:50 +0000 (00:47 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 27 Jan 2026 02:45:58 +0000 (02:45 +0000)
commitbe38b5717a2953648dd294418b7c2dfdb8e81d7a
tree820425065b7f44625b4bdcb06d46db8ff9ffcecd
parent252cf8c4d679fc40cdb934da6c5128e5943fec3f
f2fs: pin files do not require sbi->writepages lock for ordering

For pinned files, the file mapping is already established before
writing, and since the writes are in IPU, there is no need to acquire
the sbi->writepages lock to guarantee write ordering.

Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c