f2fs: no need to take page lock in readdir
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 21 Feb 2019 04:57:35 +0000 (12:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Mar 2019 01:59:18 +0000 (18:59 -0700)
commit613f3dcdf0d8ffdb3e5d820f6d69076905efddc3
tree6e2c6064fd05d88875aad04f0bbc4330a4d67924
parente46f6bd82c831d20f9b6c149076cf5d2c443d638
f2fs: no need to take page lock in readdir

VFS will take inode_lock for readdir, therefore no need to
take page lock in readdir at all just as the majority of
other generic filesystems.

This patch improves concurrency since .iterate_shared
was introduced to VFS years ago.

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c