On Mon, Jul 25, 2022 at 08:47:16AM +0200, Christoph Hellwig wrote: > While we're at it, can we clean up how the logical block size, > device size and max transfer size are set? > > I think we can drop setting all of them from the ADD_DEV ioctl, > as none of them is needed. start_dev then just sets the device > size, and everything else goes through the SET_PARAM ioctl? Yeah, that is exactly the plan to cleanup all, including removing block_size, dev_blocks and rq_max_blocks from ublksrv_ctrl_dev_info. Thanks, Ming