Re: [PATCH v9] bio: limit bio max size
From: Bart Van Assche
Date: Mon May 03 2021 - 10:54:39 EST
On 5/3/21 2:52 AM, Changheun Lee wrote:
> struct queue_limits {
> + unsigned int bio_max_bytes;
> +
> enum blk_bounce bounce;
> unsigned long seg_boundary_mask;
> unsigned long virt_boundary_mask;
On April 23 Damien Le Moal posted the following comment about the
bio_max_bytes member: "Please move this below in the structure together
with all other fields that are unsigned int too." Making that change
sounds like a good idea to me.
Thanks,
Bart.