Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2443064rwb; Sat, 24 Sep 2022 08:24:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4FXsHgycTscStdfVoYeW/PHPP1neIkmJdDvLx+8AhWNddvDThzi3f+7+9Zc+7hmtsF6wR8 X-Received: by 2002:a17:902:ef45:b0:179:b9fb:c6f1 with SMTP id e5-20020a170902ef4500b00179b9fbc6f1mr12424082plx.109.1664033055371; Sat, 24 Sep 2022 08:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664033055; cv=none; d=google.com; s=arc-20160816; b=hkQDgNI/XHblfVSQrkctJffqlRo+zPDmUuqSgXxnqubXoSqmYvO+f898QFwwn85BaK eaAOXCzq++cW3b9sytatVCcESZT8sG3CBkAsev/8dxEKECZc6DY4OL4HBLmEZJtG/E9A 2ILwOaUW7vhtyfqvZKcJysLQ+gx1wQVG+NHlTP8xZRvD/T0R7z1JSP0UzVGFsUwg+sQI ICj2Y6XD0w1wg+cpSQc/rsPpZUQqjoO3H2oMFpXwpSM7mOWYrj2jDPiwGe+F/XUG7DbZ qF7vLeHNP4ulCr6ipDQqnb44FJb/4Nv1QQZhkQdB4Rr6QWVJYmB/GoHTBlLW/QOkw95Z o8NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=qYvrAhig9F+unAPbd1/716L+dnUCLnsOlccNkw3UIUE=; b=kddf8S6wkiC+BsGccPkAe+T78qjh/571DGu9+7i2eaGLxqN78lVwpXyBZmUEGoEIQ/ 1C3XfykbrxjeLdftSO3lYjeIJPfHMndYTIwl8tbUWEk/QRLAn1QWNTO63TCidWTYs3/u zW93zCw1nkNY8dyBpmoEjUEnXb10rZCHSJE2pUX6HklsC3bqXJvJCaRWlCcatDLlxpz2 N4u8E0TADVXhQubWNXF6ouCx/a6yU/KMqbwkpqu6dgpGvZwoXic4d0mI4OUchYLTc6lJ U7vOzbJ0nB3+2yswUqHUqF5Q8sZxXUj5AXojow7njSLHLzOngPSj0Z2wl6pb7t25YKkC Jv0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=6sjPQqTH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 138-20020a630690000000b00430980f4c69si13293069pgg.872.2022.09.24.08.24.03; Sat, 24 Sep 2022 08:24:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=6sjPQqTH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233525AbiIXPDe (ORCPT + 99 others); Sat, 24 Sep 2022 11:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbiIXPDc (ORCPT ); Sat, 24 Sep 2022 11:03:32 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D103C33E15 for ; Sat, 24 Sep 2022 08:03:31 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id j6-20020a17090a694600b00200bba67dadso2868683pjm.5 for ; Sat, 24 Sep 2022 08:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date; bh=qYvrAhig9F+unAPbd1/716L+dnUCLnsOlccNkw3UIUE=; b=6sjPQqTHqh7TGwi+KhrasovGQqG7CjZ0zXuHfDLtmqEv/w9/By8iRWQA3HuTVh0rbo KkWaTY5mlB69ECJA1ZUr5HtH1Z5LS6U24HxJ/7WXnD47J9uAHa7fDDzOwbFfIKB6Nxju mT8bYVXg4xhEc+GUMiQk7wicaBjUt4nNeyzsvtLuU73suBz34sGRutkufdjT/g6wRqta X9SZH6oMKVrYjX5o4idOfKK+uh5+vqQqEIs+9/lm9BmV3CecbBqNCIxVwFsSYP7/bohr WyFLI0zho83xlrJsREkNCy/3wPC2K3iBZTOLN2rQpczFUe4CcYNXIRyMAVOBIV4HZc6G CChw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=qYvrAhig9F+unAPbd1/716L+dnUCLnsOlccNkw3UIUE=; b=Y3vc/svwdJD0DVMFXCeOG3qTO9Kt+uZuXzyDMi2/D62puI/ywHx/v55ZeEGAVQuU8K OeuKmtfbnW5DF2+kNdJcFHcDRcCJzV2k/EQssHmA9MjvxN8R8vSOnca+mK7kFS7+T+TX 287937mNVOArdGbvWVSAsl+pb7UDhGvwgVoy3F4JBtKon6nK68VX+RK4l9LGIyjkxAvP 7JCv5dw+Ks2Komtg6aQbGzLqc0pqCwKduP6bCdY6FkOM6pL3m087OhCloH5rpCo+Mdg7 VsDLUBqLRAAWFXODqXfxmw2CD+iVFfetUhsd3BZqKM4BfsPdw1FqYpztsA5rUPq/l3fI p/2g== X-Gm-Message-State: ACrzQf23frcFKn7Q1C3PqgpjcTzckcTqmHaSjC4Kwze9LjgFIgJu15Nv 3GAS39LQlVbIfGKc4CFV7LzuWQ== X-Received: by 2002:a17:90a:e60d:b0:201:6b28:5406 with SMTP id j13-20020a17090ae60d00b002016b285406mr26532669pjy.228.1664031811263; Sat, 24 Sep 2022 08:03:31 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id b15-20020a170902650f00b00174f7d107c8sm141790plk.293.2022.09.24.08.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 08:03:30 -0700 (PDT) From: Jens Axboe To: Liu Song Cc: hch@lst.de, sagi@grimberg.me, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, kbusch@kernel.org In-Reply-To: <1663731123-81536-1-git-send-email-liusong@linux.alibaba.com> References: <894e18a4-4504-df48-6429-a04c222ca064@kernel.dk> <1663731123-81536-1-git-send-email-liusong@linux.alibaba.com> Subject: Re: [RFC PATCH] blk-mq: hctx has only one ctx mapping is no need to redirect the completion Message-Id: <166403181034.5940.4446452471783801931.b4-ty@kernel.dk> Date: Sat, 24 Sep 2022 09:03:30 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-355bd X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Sep 2022 11:32:03 +0800, Liu Song wrote: > From: Liu Song > > High-performance NVMe devices usually support a large hw queue, which > ensures a 1:1 mapping of hctx and ctx. In this case there will be no > remote request, so we don't need to care about it. > > > [...] Applied, thanks! [1/1] blk-mq: hctx has only one ctx mapping is no need to redirect the completion commit: f168420c62e7a106961f2489a89f6ade84fe3f27 Best regards, -- Jens Axboe