Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5410348imd; Tue, 30 Oct 2018 17:38:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5dzrfRxoy9qnGuk2ncoMqZaPw2ctr0gjjf/GUXgAooMFjNhwK8KT/dX8t/uYaBOryGOfZB6 X-Received: by 2002:a17:902:4c85:: with SMTP id b5-v6mr978521ple.126.1540946324209; Tue, 30 Oct 2018 17:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540946324; cv=none; d=google.com; s=arc-20160816; b=Udn4YBFhlma6JBpoHVFap8YsY5gqUHmL7H/gC9J5CDmUwzVQ9UXVjKuUtk4nj8Az8K igRUgtx+vGSWXynrq57t0lYD1WeuayghO3O6YFzN6ph3/KNHGc0IjYkXe5v6KTEADmPT xCZ5klozIgMRXRFaFE6yDqHgY+TD0g3iODhnTAgeEIg8cA0Z+BrI3LaRsl+6U3sTIxQE eFaWcQjK7UQeSeYVWWIxx413AFe8HD/X4EQRDTOfNq92Xu9TmQpFL6Gz01aCwRaOePbA 5gP1UKHxyqqB1X2WSQoceyUEB2n/dHzB4jZR3oETlsXpb/KOlAxz2KuCyT6q2YcZKfNC nZow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=Af/vBFxnFO/1ehRDf4VOlISmYa9db9j8LKh1aBAHPgA=; b=NGoSnIypcIm+epa00LOIdcyeXpSikblSEkzzooSgQVPwIcaR+FlBeksqP3XaiDRDub Hh4DSUqYcnCGO1tda+oJ0HDYtSHpJn6KcDyQSjVnvWoW0iml+O7TaTAyBLQaM8RO3vq4 9U7A1/6hGdOGd4MH6mNjeeyAPgtbxSUFvLR2PQ1mN39PIxqvTWx5jNgZs5l15w6GPOvN v0zFxmgKJd/B+1MjuuouBGjs4T1Nr+WTSgNLQbrPnKh8rC5JDrehnzn2+9FTBftugqBy j/oNi3KsfbJ0QIcPi9W0UP6g8lN9lFN5iuMoZCHdi9H6S0eikMEoP9FiBzlb5wsBq5CX nwGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14-v6si21917690pge.225.2018.10.30.17.38.28; Tue, 30 Oct 2018 17:38:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728789AbeJaJdp (ORCPT + 99 others); Wed, 31 Oct 2018 05:33:45 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:38908 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727950AbeJaJdp (ORCPT ); Wed, 31 Oct 2018 05:33:45 -0400 Received: by mail-pg1-f194.google.com with SMTP id f8-v6so6490690pgq.5; Tue, 30 Oct 2018 17:38:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Af/vBFxnFO/1ehRDf4VOlISmYa9db9j8LKh1aBAHPgA=; b=Ttj3eDa95sgddEcC/q1VLp9RJOq7aOurLu/vhnzGIkghuBBKKLfiB3mpsGqeMhKpZa 5BZfhP1RiIXPfxm+O5QKBmke/RYCyZjWGP9VzFViHRL4YrOZv27997k6pvSwZk8U9Ct3 RZpLoGrEManTLieiCKZ+hduSCZFY8lhQrxelXjTr5neNwG2CRTEm/ajRsvnuUucwRo20 dJxxJTwpOoLAsdNvX8vqQvbN3sGS4TFdp9H8pxe4vWQc9i/9dUqcHER/TRfzF1tZLImD tBbiYAXawUi6mfJrrXX7pYrQTQPr3X9zoqkJHuIPjUXfn99gmb3661xMskEmaxd3355U L9Ww== X-Gm-Message-State: AGRZ1gJISc46YuG5oTYHnU3rTw7Uyb1Nla3p46SCMfEQkxmL8FG4iIYW WI4iFkC2TN+0vHLriJjDSUNAvoBk X-Received: by 2002:a63:1765:: with SMTP id 37-v6mr924687pgx.131.1540946281229; Tue, 30 Oct 2018 17:38:01 -0700 (PDT) Received: from ?IPv6:2601:647:4800:973f:e9fd:d0f6:3e3:43a5? ([2601:647:4800:973f:e9fd:d0f6:3e3:43a5]) by smtp.gmail.com with ESMTPSA id i13-v6sm9612727pgs.51.2018.10.30.17.38.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 17:38:00 -0700 (PDT) Subject: Re: [PATCH 04/16] blk-mq: pass in request/bio flags to queue mapping To: Jens Axboe , linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org References: <20181030183252.17857-1-axboe@kernel.dk> <20181030183252.17857-5-axboe@kernel.dk> From: Sagi Grimberg Message-ID: <50a9c2d1-abc5-b04f-1f95-878f216a47b1@grimberg.me> Date: Tue, 30 Oct 2018 17:37:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181030183252.17857-5-axboe@kernel.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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.