Fan Li 9745657449 f2fs: optimize the way of traversing free_nid_bitmap
We call scan_free_nid_bits only when there isn't many
free nids left, it means that marked bits in free_nid_bitmap
are supposed to be few, use find_next_bit_le is more
efficient in such case.
According to my tests, use find_next_bit_le instead of
test_bit_le will cut down the traversal time to one
third of its original.

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:43:09 -08: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