commit | b3582c68920105e29d219714d8a6fbde25a43379 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Thu Jul 03 18:58:39 2014 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Jul 30 23:28:37 2014 -0700 |
tree | 200ab9ca194921c8baad9954fee36eee072a772f | |
parent | 65b85ccce03f17b3098273192b20885f3fead820 [diff] |
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>