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