lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V5 7/8] blk-mq-sched: refactor blk_mq_sched_try_merge()
> +bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio,
> + struct request **merged_request)
> +{
> + struct request *rq;
> + enum elv_merge type = elv_merge(q, &rq, bio);
> +
> + return __blk_mq_try_merge(q, bio, merged_request, rq, type);
> +}
> EXPORT_SYMBOL_GPL(blk_mq_sched_try_merge);

This only has two callers, just open code it and rename __blk_mq_try_merge
to blk_mq_try_merge.

\
 
 \ /
  Last update: 2017-10-03 11:21    [W:0.076 / U:0.912 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site