Chao Yu a43f7ec327 f2fs: fix to avoid redundant searching in dirty map during gc
When doing gc, we search a victim in dirty map, starting from position of
last victim, we will reset the current searching position until we touch
the end of dirty map, and then search the whole diryt map. So sometimes we
will search the range [victim, last] twice, it's redundant, this patch
avoids this issue.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-10-09 16:20:55 -07:00
..
2015-06-11 15:04:20 -07:00
2015-10-09 16:20:54 -07:00
2015-08-21 22:43:32 -07:00
2015-10-09 16:20:54 -07:00
2015-10-09 16:20:54 -07:00
2015-08-20 09:00:06 -07:00