Re: [PATCH v8] bio: limit bio max size

From: Bart Van Assche
Date: Thu Apr 22 2021 - 16:33:16 EST


On 4/21/21 2:47 AM, Changheun Lee wrote:
bio size can grow up to 4GB when muli-page bvec is enabled.
but sometimes it would lead to inefficient behaviors.
in case of large chunk direct I/O, - 32MB chunk read in user space -
all pages for 32MB would be merged to a bio structure if the pages
physical addresses are contiguous. it makes some delay to submit
until merge complete. bio max size should be limited to a proper size.

Hi Christoph, Ming and Damien,

Can one of you take a look at this patch?

Thanks,

Bart.