Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8F91C433E0 for ; Thu, 28 May 2020 11:23:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BCA3E206F1 for ; Thu, 28 May 2020 11:23:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388202AbgE1LXz (ORCPT ); Thu, 28 May 2020 07:23:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:50770 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388198AbgE1LXy (ORCPT ); Thu, 28 May 2020 07:23:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C3834AEA4; Thu, 28 May 2020 11:23:52 +0000 (UTC) Date: Thu, 28 May 2020 13:23:52 +0200 From: Daniel Wagner To: Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, Sagi Grimberg , Baolin Wang , Christoph Hellwig , Christoph Hellwig , Johannes Thumshirn Subject: Re: [PATCH V3 2/6] blk-mq: pass hctx to blk_mq_dispatch_rq_list Message-ID: <20200528112352.i7fjsa2qfspyal4x@beryllium.lan> References: <20200528080053.1062653-1-ming.lei@redhat.com> <20200528080053.1062653-3-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528080053.1062653-3-ming.lei@redhat.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, May 28, 2020 at 04:00:49PM +0800, Ming Lei wrote: > All requests in the 'list' of blk_mq_dispatch_rq_list belong to same > hctx, so it is better to pass hctx instead of request queue, because > blk-mq's dispatch target is hctx instead of request queue. > > Cc: Sagi Grimberg > Cc: Baolin Wang > Cc: Christoph Hellwig > Reviewed-by: Christoph Hellwig > Reviewed-by: Sagi Grimberg > Reviewed-by: Johannes Thumshirn > Signed-off-by: Ming Lei Reviewed-by: Daniel Wagner