Re: [PATCH 07/16] blocK: move plug flush functions to blk-mq.c

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

 



On 10/20/21 07:17, Christoph Hellwig wrote:
Spelling error in the subject.

On Tue, Oct 19, 2021 at 10:24:16PM +0100, Pavel Begunkov wrote:
Flushing is tightly coupled with blk-mq and almost all
blk_flush_plug_list() callees are in blk-mq.c. So move the whole thing
there, so the compiler is able to apply more optimisations and inline.

No, it isn't.  The whole callback handling is all about bio based
drivers.

How about leaving flush_plug_callbacks() in blk-core.c but moving
everything else?

--
Pavel Begunkov



[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