On 2016/2/3 13:29, Fan Li wrote:
> Now f2fs will check statistics recorded in super block in
> sanity_check_area_boundary() during mount,if number of segments per
> section is greater than 1, and the disk space isn't aligned with section,
Hi Fan, Hi Kim:
I'm uncertain about which unit the disk
variable nsearched in get_victim_by_default() indicates the number of
dirty segments we already checked. There are 2 problems about the way
it updates:
1. When p.ofs_unit is greater than 1, the victim we find consists
of multiple segments, possibly more than 1 dirty segment.
But nsearched al