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

From: Changheun Lee
Date: Wed Apr 21 2021 - 20:09:30 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.

Yes, I'm preparing a dm-crypt patch. I'll upstream after applying of this.
Thank you for your review, and advice. :)

Thanks,

Changheun Lee.