Fan Li 74986213ad f2fs: keep scanning until enough free nids are acquired
In current version, after scan_free_nid_bits, the scan is over if
nid_cnt[FREE_NID] != 0. In most cases, there are still free nids in the
free list during the scan, and scan_free_nid_bits usually can't increase
nid_cnt[FREE_NID]. It causes that __build_free_nids is called many times
without solving the shortage of the free nids. This patch fixes that.

Signed-off-by: Fan li <fanofcode.li@samsung.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2017-11-09 09:41:08 -08:00
..
2016-09-14 16:52:36 -07:00
2017-11-05 16:42:06 -08:00
2017-11-05 16:41:49 -08:00
2017-10-10 12:49:53 -07:00
2017-10-26 10:44:21 +02:00
2017-11-05 16:42:02 -08:00
2017-11-05 16:42:08 -08:00
2017-10-10 12:49:53 -07:00
2017-11-05 16:42:01 -08:00