]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: enhance multi-threads performance
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 14 Mar 2015 04:44:36 +0000 (21:44 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:45 +0000 (15:08 -0700)
commit78373b7319abdf15050af5b1632c4c8b8b398f33
treee4d8c016400ea53cd0a8a45984008b8f2c383190
parent3402e87cfb5e762f9c95071bf4a2ad65fd9392a2
f2fs: enhance multi-threads performance

Previously, f2fs_write_data_pages has a mutex, sbi->writepages, to serialize
data writes to maximize write bandwidth, while sacrificing multi-threads
performance.
Practically, however, multi-threads environment is much more important for
users. So this patch tries to remove the mutex.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/super.c