]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: avoid needless lock for node pages when fsyncing a file
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Apr 2016 23:14:38 +0000 (16:14 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Apr 2016 21:24:30 +0000 (14:24 -0700)
commit12d68bea35e9aca2cf61cd0f916a26ee36701c63
tree810c8bae2e9f392b20898131b21848532c143425
parent12396b9409213eb759af6459fdcb9d99ad03837a
f2fs: avoid needless lock for node pages when fsyncing a file

When fsync is called, sync_node_pages finds a proper direct node pages to flush.
But, it locks unrelated direct node pages together unnecessarily.

Acked-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c