Re: [PATCH v2] block: respect virtual boundary mask in bvecs

From: Jens Axboe
Date: Wed Nov 07 2018 - 15:05:15 EST


On 11/7/18 6:58 AM, Johannes Thumshirn wrote:
> With drivers that are settting a virtual boundary constrain, we are
> seeing a lot of bio splitting and smaller I/Os being submitted to the
> driver.
>
> This happens because the bio gap detection code does not account cases
> where PAGE_SIZE - 1 is bigger than queue_virt_boundary() and thus will
> split the bio unnecessarily.

Thanks, applied.

--
Jens Axboe