Re: [PATCH v9] bio: limit bio max size
From: Bart Van Assche
Date: Mon May 03 2021 - 12:33:26 EST
On 5/3/21 2:52 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.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>