Re: can we reduce bio_set_dev overhead due to bio_associate_blkg?

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

 



On Wed, Mar 30, 2022 at 10:52:13PM -0700, Dennis Zhou wrote:
> I took a quick look. It seems with the new interface,
> bio_clone_blkg_association() is unnecessary given the correct
> association should be derived from the bio_alloc*() calls with the
> passed in bdev. Also, blkcg_bio_issue_init() in clone seems wrong.

Yes, I think you are right.

> Maybe the right thing to do here for md-linear and btrfs (what I've
> looked at) is to delay cloning until the map occurs and the right device
> is already in hand?

That would in general be the preferred option where possible.



[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