Re: [PATCH 04/14] block: take io_opt and io_min into account for max_sectors

2024-05-31 Thread Ilya Dryomov
and sd. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Bart Van Assche > Reviewed-by: Damien Le Moal > --- > block/blk-settings.c | 7 +++ > drivers/block/nbd.c | 2 +- For rbd > drivers/block/rbd.c | 1 - Acked-by: Ilya Dryomov Thanks, Ilya

Re: [PATCH 03/14] rbd: increase io_opt again

2024-05-31 Thread Ilya Dryomov
.io_opt = objset_bytes, > .io_min = rbd_dev->opts->alloc_size, > - .io_opt = rbd_dev->opts->alloc_size, > .max_segments = USHRT_MAX, > .max_segment_size = UINT_MAX, > }; > -- > 2.43.0 > Acked-by: Ilya Dryomov Thanks, Ilya

Re: [PATCH 02/12] block: take io_opt and io_min into account for max_sectors

2024-05-30 Thread Ilya Dryomov
On Fri, May 31, 2024 at 7:54 AM Christoph Hellwig wrote: > > On Thu, May 30, 2024 at 09:48:06PM +0200, Ilya Dryomov wrote: > > For rbd, this change effectively lowers max_sectors from 4M to 64K or > > less and that is definitely not desirable. From previous interactions >

Re: [PATCH 02/12] block: take io_opt and io_min into account for max_sectors

2024-05-30 Thread Ilya Dryomov
On Wed, May 29, 2024 at 7:05 AM Christoph Hellwig wrote: > > The soft max_sectors limit is normally capped by the hardware limits and > an arbitrary upper limit enforced by the kernel, but can be modified by > the user. A few drivers want to increase this limit (nbd, rbd) or > adjust it up or dow