]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: skip scanning free nid bitmap of full NAT blocks
authorChao Yu <yuchao0@huawei.com>
Wed, 1 Mar 2017 09:09:07 +0000 (17:09 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 20 Mar 2017 14:00:17 +0000 (10:00 -0400)
commit094fa9a8e7549ff75aab768ff02c82b238edf5ac
tree13371030fa0c79ad4862b004d5302f5f1c4c365a
parentda5ff998c3cca40960a37f485ff76fa7165f6545
f2fs: skip scanning free nid bitmap of full NAT blocks

This patch adds to account free nids for each NAT blocks, and while
scanning all free nid bitmap, do check count and skip lookuping in
full NAT block.

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