Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp956498ybh; Tue, 10 Mar 2020 11:34:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsC04zGMZEUpO8RN4aPlNYcQ5jvP4bYzm6iGc/PyC97jQqaK8haG00v7YKjfUPDGe15uUTB X-Received: by 2002:a9d:264a:: with SMTP id a68mr4397151otb.176.1583865272170; Tue, 10 Mar 2020 11:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583865272; cv=none; d=google.com; s=arc-20160816; b=Bc6nyyIjsWH6jSRqduubtN7D3jK1lqemdE7ac6YJRJ7omPZYF/z8dtcd1kyGQpAk+n 93dOuLJoF4why56aUCGsWz+Zia/4piYe4Gu+JFjfjO6Ushb/6ni8fNEd4FP2A84qNIPw +loVF9pP+wA4fYZ0dsrkyOeIeCPCOiQuaR7u6PKzNVX2zSPSQ6N905GH0roaS2V3VmWd vZbzcns5b1MMdzsHzshjubTaFXufDHg1Iqa0FmhpwMn6VHGSAlOCm2+2pFqaP6GekJ1N XTzksybGLm09Iji8y9lRpOnf5f/Lj5Ic3n8os5BiuIOusjTCKN7tOiCbFUv4u0pCOq7y 5Rxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=BM1rOj2mhNiPAl7HQ9Dqr15pnyhMXu6TgEmfxY4G2dE=; b=M/tTUvFwCmcZQ1x9DND8ZdEbRG3opN/gs7/dNxNPoYtVSW/teCsBPYA+EOFpXv+w1w JjQSuHfNyvWBMpWGw+tu34F4Gzkv58vAsUTGFwFnFe0fxZmZ41jncTEqp28QRDyRqyHi WZx58nefgxGmrOWnCAeUCiaZb9AbJ3HpUWRiOorwMM9bMRek9nMIFusfv8Cja+gmTAz2 gediF7NPi9jEVnfEz5kHCLUem87SX/MMfD0LPchRww9K7bE5dMKlIU+iZ6CcDrfA99nS e0r75oVdiQm1FzIWwseM1iaCpy5Tz3Qib5I+tubZRqqkgbvotFVWU/nY/RmGjyoudOfd VSlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ed6zJKUM; 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 t15si8455506oth.176.2020.03.10.11.34.20; Tue, 10 Mar 2020 11:34:32 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ed6zJKUM; 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 S1727406AbgCJScx (ORCPT + 99 others); Tue, 10 Mar 2020 14:32:53 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33126 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbgCJScx (ORCPT ); Tue, 10 Mar 2020 14:32:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=BM1rOj2mhNiPAl7HQ9Dqr15pnyhMXu6TgEmfxY4G2dE=; b=ed6zJKUMN0NHTWgGMZZSTBEMDJ ZDwYVpOOtBbWFiUHnmoG6GaShnCVBNtgLFdocdwwRDKj4qutRI2XnmiCFY3FvYu0H6LTim5ZMYG7l er2Lg68TxUnu7dgmzliLVYHYuWZlDRVJZnXxTrNbeyTmFNxMT/4eKfoklcs5lYKYFagBDGM3D1DXQ Mfob/seec8sdaZisq4mZffAyZUetOdUKq7p7SqhAx2aZ6sX/rk12t8fIAlAmkmzXB/Fu5MVzj1oNr 3IDqAJiLb2d029n6cYMi7pHsO0hMT85id6WaFxFPrLWgXPuuRoplFfqkZd8EvysaP2+Sgd06AOwkD QGZb4vxQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jBjgJ-0005Yb-SK; Tue, 10 Mar 2020 18:32:43 +0000 Date: Tue, 10 Mar 2020 11:32:43 -0700 From: Christoph Hellwig To: John Garry Cc: axboe@kernel.dk, jejb@linux.ibm.com, martin.petersen@oracle.com, hare@suse.de, ming.lei@redhat.com, bvanassche@acm.org, hch@infradead.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, virtualization@lists.linux-foundation.org, esc.storagedev@microsemi.com, chenxiang66@hisilicon.com, Hannes Reinecke Subject: Re: [PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands Message-ID: <20200310183243.GA14549@infradead.org> References: <1583857550-12049-1-git-send-email-john.garry@huawei.com> <1583857550-12049-3-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1583857550-12049-3-git-send-email-john.garry@huawei.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 11, 2020 at 12:25:28AM +0800, John Garry wrote: > From: Hannes Reinecke > > Allocate a separate 'reserved_cmd_q' for sending reserved commands. Why? Reserved command specifically are not in any way tied to queues.