On 11/21/22 11:42, Adrian Hunter wrote:
blk_queue_max_hw_sectors() does not allow it.
Right, I modified blk_queue_max_segment_size() in my patch series but not blk_queue_max_hw_sectors(). Adding a change for blk_queue_max_hw_sectors() to that patch series should be easy since that patch series already adds support for max_sectors being smaller than the page size.
Thanks, Bart.