summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-05-20 22:50:29 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-02 18:05:17 -0700
commitb93f7712868648c0529eed6b568cea1493d3d9f9 (patch)
treec0ac3da3b8f764e13f19f38899ab36319b59d292 /fs/f2fs/super.c
parent69e9e4274450c778416bb1ff21e5c6f6276ff418 (diff)
downloadop-kernel-dev-b93f7712868648c0529eed6b568cea1493d3d9f9.zip
op-kernel-dev-b93f7712868648c0529eed6b568cea1493d3d9f9.tar.gz
f2fs: remove writepages lock
This patch removes writepages lock. We can improve multi-threading performance. tiobench, 32 threads, 4KB write per fsync on SSD Before: 25.88 MB/s After: 28.03 MB/s Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 55203f6..a5b5739 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1630,7 +1630,6 @@ try_onemore:
sbi->raw_super = raw_super;
sbi->valid_super_block = valid_super_block;
mutex_init(&sbi->gc_mutex);
- mutex_init(&sbi->writepages);
mutex_init(&sbi->cp_mutex);
init_rwsem(&sbi->node_write);
OpenPOWER on IntegriCloud