diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-07-03 18:58:39 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-30 23:28:37 -0700 |
commit | b3582c68920105e29d219714d8a6fbde25a43379 (patch) | |
tree | 200ab9ca194921c8baad9954fee36eee072a772f /fs/file.c | |
parent | 65b85ccce03f17b3098273192b20885f3fead820 (diff) | |
download | linux-stable-b3582c68920105e29d219714d8a6fbde25a43379.tar.gz linux-stable-b3582c68920105e29d219714d8a6fbde25a43379.tar.bz2 linux-stable-b3582c68920105e29d219714d8a6fbde25a43379.zip |
f2fs: reduce competition among node page writes
We do not need to block on ->node_write among different node page writers e.g.
fsync/flush, unless we have a node page writer from write_checkpoint.
So it's better use rw_semaphore instead of mutex type for ->node_write to
promote performance.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions