]> 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)
commita1657cca98b7920410713f45a6787d89a6671ad0
tree13371030fa0c79ad4862b004d5302f5f1c4c365a
parent64acfbba2abdcfc0b04fd5a53e649955b54b2c4e
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