On Fri, Oct 02, 2020 at 09:39:04AM -0400, Martin K. Petersen wrote: > > Naohiro/Johannes, > > > Add bio_add_zone_append_page(), a wrapper around bio_add_hw_page() which > > is intended to be used by file systems that directly add pages to a bio > > instead of using bio_iov_iter_get_pages(). > > Why use the hardware limit? For filesystem I/O we generally use the > queue soft limit to prevent I/Os getting too big which can lead to very > unpredictable latency in mixed workloads. > > max_zone_append_sectors also appears to be gated exclusively by hardware > constraints. Is there user-controllable limit in place for append > operations? Zone Append operations can't be split, as they return the first written LBA to the caller. If you'd split it you'd now need to return multiple start LBA values.