Re: [RFC PATCH] md: split bio by io_opt size in md_submit_bio()

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

 




> 2025年7月16日 20:14,Christoph Hellwig <hch@xxxxxx> 写道:
> 
> On Wed, Jul 16, 2025 at 08:10:33PM +0800, Coly Li wrote:
>> Just like hanlding discard requests, handling raid5 read/write bios should
>> try to split the large bio into opt_io_size aligned both *offset* and
>> *length*. If I understand correctly, bio_split_to_limits() doesn't handle
>> offset alignment for read5 read/write bios.
> 
> Well, if you want offset alignment, set chunk_sectors.
> 

Do you mean setting max_hw_sectors as chunk_sectors?

Coly Li




[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