Re: [PATCH v2] btrfs: zoned: remove fs_info->max_zone_append_size
From: Johannes Thumshirn <hidden>
Date: 2021-06-29 09:14:15
From: Johannes Thumshirn <hidden>
Date: 2021-06-29 09:14:15
On 28/06/2021 22:22, David Sterba wrote:
On Tue, Jun 29, 2021 at 03:36:45AM +0900, Johannes Thumshirn wrote:quoted
Remove fs_info->max_zone_append_size, it doesn't serve any purpose.Why was it added then? Commit 862931c76327 ("btrfs: introduce max_zone_append_size") states some reasons so you should explain why it's not needed now. It's a partial revert of the commit.
There used to be a patch in the original series for zoned support which limited the extent size to max_zone_append_size, but this patch has been dropped from the series somewhere around v9 IIRC. We've decided to go the opposite round, instead of limiting extents in the first place we split them before submission to comply with the device's limits.