]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: unlock cp_rwsem early for IPU writes
authorChao Yu <yuchao0@huawei.com>
Tue, 18 Apr 2017 11:23:39 +0000 (19:23 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 19 Apr 2017 18:00:44 +0000 (11:00 -0700)
commitc419f965fe60efaa8efad19b270d9401cc69bb19
treed5c7df8a2797882c41b95e3ffeebd0ee3c496fae
parent954cf734a1da0f964111fc5cf99610340effd3da
f2fs: unlock cp_rwsem early for IPU writes

For IPU writes, there won't be any udpates in dnode page since we
will reuse old block address instead of allocating new one, so we
don't need to lock cp_rwsem during IPU IO submitting.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
fs/f2fs/data.c
fs/f2fs/f2fs.h