Re: [f2fs-dev] [PATCH v2] f2fs: introduce blk_alloc_mode mount option

From: Chao Yu
Date: Mon Aug 16 2021 - 03:43:42 EST


On 2021/8/16 15:11, Daeho Jeong wrote:
I agree with you. But still I think "fragment" mode should work even
in low free space conditions.
Otherwise, it will be seeking the free blocks again and again like a busy loop.
Or we can change the block allocation way into adaptive mode under low
free space even staying in "fragment" mode.

I think fallbacking to adaptive mode sounds good to me, so the condition
of fallback may be there is no more free segments?

Thanks,


If we can handle this, we might use "fragment" mode for both
simulating after fragmentation and making the filesystem fragmented.