Re: [PATCH 0/2] ublk_drv: add generic mechanism to get/set parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux