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

From: Bart Van Assche
Date: Wed Apr 21 2021 - 12:29:40 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 -

This patch looks good to me, hence:

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>

Do you plan to submit a dm-crypt patch that limits the bio size when using dm-crypt to the bio size of the underling device?

Thanks,

Bart.