On 4/24/23 15:01, Christoph Hellwig wrote: > On Sat, Apr 22, 2023 at 07:25:33AM +0900, Damien Le Moal wrote: >>>> for allocating blocks. This is a resource management issue. >>> >>> Ok, so it seems I overlooked there might be something in the zone allocation >>> policy. So, f2fs already manages 6 open zones by design. >> >> Yes, so as long as the device allows for at least 6 active zones, there are no >> issues with f2fs. > > I don't think it's quite as rosy, because f2fs can still schedule > I/O to the old zone after already scheduling I/O to a new zone for > any of these 6 slots. It'll need code to wait for all I/O to the old > zone to finish first, similar to btrfs. Indeed. Good point.