Re: [PATCH 3/3] blk-mq: make sure elevator callbacks aren't called for passthrough request

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

 



On Thu, May 18, 2023 at 07:31:01AM +0200, Christoph Hellwig wrote:
> In case of q->elevator, passthrought request can still be marked as
> RQF_ELV, so some elevator callbacks will be called for them.
> 
> Fix this by splitting RQF_SCHED_TAGS, which is set for all requests that
> are issued on a queue that uses an I/O scheduler, and RQF_USE_SCHED for
> non-flush, non-passthrough requests on such a queue.
> 
> Roughly based on two different patches from
> Ming Lei <ming.lei@xxxxxxxxxx>.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

Thanks,
Ming




[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