On Wed, 13 Nov 2024 09:45:35 +0100, Christoph Hellwig wrote: > While block drivers do the validation as part of committing them to the > queue, users that use the limit outside of a block device context have > to validate the limits and fill in the calculated values as well. > > So far btrfs is the only user of queue limits without a block device, > and it has gotten away with that more or less by accident. But with > commit 559218d43ec9 ("block: pre-calculate max_zone_append_sectors") > this became fatal for setups that have small max zone append size, > as it won't be limited now. > > [...] Applied, thanks! [1/2] block: export blk_validate_limits commit: 470d2bc3a0bc19a849cc7478c02d3f5ecaa1233e [2/2] btrfs: validate queue limits commit: e559ee022658c70bdc07c4846bf279f5a5abc494 Best regards, -- Jens Axboe