lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2017-10-03 11:20    [W:0.048 / U:11.124 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site