f2fs: use spinlock rather than mutex for better speed
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 10 Jan 2014 10:09:14 +0000 (18:09 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 14 Jan 2014 09:12:05 +0000 (18:12 +0900)
commit17b692f60e93f5d417fcdbfd681b0f20f9f31ec8
treecbc5410c54767f86ac07eae945851cc5ee782765
parentc1ef37257229dc8903615eaf1d1abaa5da3f0686
f2fs: use spinlock rather than mutex for better speed

With the 2 previous changes, all the long time operations are moved out
of the protection region, so here we can use spinlock rather than mutex
(orphan_inode_mutex) for lower overhead.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h