f2fs: separate nat entry mem alloc from nat_tree_lock
authorYunlei He <heyunlei@huawei.com>
Fri, 10 Nov 2017 21:36:51 +0000 (13:36 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:39:13 +0000 (19:39 -0800)
commiteb538327e5732e43161d8c1ef299d5b4e0e123fe
tree42345033764ad0890589a7c666f7e4d1bbdf6cf8
parenta7c6829c1c380908c26e1059b45d425626dec34a
f2fs: separate nat entry mem alloc from nat_tree_lock

This patch splits memory allocation part in nat_entry to avoid lock contention.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c