lkml.org 
[lkml]   [2018]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 04/16] blk-mq: pass in request/bio flags to queue mapping
From
Date

> static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q,
> + unsigned int flags,
> unsigned int cpu)
> {
> struct blk_mq_tag_set *set = q->tag_set;
> @@ -84,7 +85,7 @@ static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue *
> unsigned int hctx_type,
> unsigned int cpu)
> {
> - return blk_mq_map_queue(q, cpu);
> + return blk_mq_map_queue(q, hctx_type, cpu);
> }

Haven't read through the rest of the patch set, but it looks a bit
strange that a type enumeration is being passed on as flags field.

\
 
 \ /
  Last update: 2018-10-31 01:39    [W:0.252 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site