Re: [PATCH v3 2/2] f2fs: refresh pinned allocation boundary after resize
From: Wenjie Qi
Date: Fri Oct 16 2026 - 02:33:18 EST
Hi Daeho,
> Could you bound it by MAIN_SECS() in get_new_segment()?
Thanks for pointing this out. I've sent v4 [1] with the suggested
min(sbi->pinned_area_max_secno, MAIN_SECS(sbi)) bound in
get_new_segment(). This prevents pinned curseg allocation from entering
the range being removed while MAIN_SECS() is temporarily reduced.
Patch 1 is unchanged.
[1] https://lore.kernel.org/linux-f2fs-devel/cover.1792116883.git.qiwenjie@xxxxxxxxxx/T/#u
Best regards,
Wenjie