Re: [PATCH] block: align max append sectors to physical block size

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

 



On 2020/07/20 21:34, hch@xxxxxxxxxxxxx wrote:
> On Mon, Jul 20, 2020 at 12:32:48PM +0000, Damien Le Moal wrote:
>> But for regular 4Kn drives, including all logical drives like null_blk, I think
>> it would still be nice to have a max_hw_sectors and max_sectors aligned on 4K.
>> We can enforce that generically in the block layer when setting these limits, or
>> audit drivers and correct those setting weird values (like null_blk). Which
>> approach do you think is better ?
> 
> I guess we can just round down in the block layer.

Works for me.


-- 
Damien Le Moal
Western Digital Research




[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