[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171003091922.GD2771@infradead.org>
Date: Tue, 3 Oct 2017 02:19:22 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Ming Lei <ming.lei@...hat.com>
Cc: Jens Axboe <axboe@...com>, linux-block@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>,
Mike Snitzer <snitzer@...hat.com>, dm-devel@...hat.com,
Bart Van Assche <bart.vanassche@...disk.com>,
Laurence Oberman <loberman@...hat.com>,
Paolo Valente <paolo.valente@...aro.org>,
Oleksandr Natalenko <oleksandr@...alenko.name>,
Tom Nguyen <tom81094@...il.com>, linux-kernel@...r.kernel.org,
Omar Sandoval <osandov@...com>
Subject: Re: [PATCH V5 6/8] block: introduce .last_merge and .hash to
blk_mq_ctx
> +enum elv_merge elv_merge_ctx(struct request_queue *q, struct request **req,
> + struct bio *bio, struct blk_mq_ctx *ctx)
> +{
> + WARN_ON_ONCE(!q->mq_ops);
> + return __elv_merge(q, req, bio, ctx->hash, ctx->last_merge);
> +}
This function only has a single caller, just open code it.
Powered by blists - more mailing lists