Re: [PATCH 04/34] btrfs: remove the direct I/O read checksum lookup optimization

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

 



On 21.01.23 07:50, Christoph Hellwig wrote:
> To prepare for pending changes drop the optimization to only look up
> csums once per bio that is submitted from the iomap layer.  In the
> short run this does cause additional lookups for fragmented direct
> reads, but later in the series, the bio based lookup will be used on
> the entire bio submitted from iomap, restoring the old behavior
> in common code.

I was wondering how that would impact performance, when we do a csum
tree lookup on every DIO read until I realized you already accounted
for that in the commit message.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>





[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