Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3719285yba; Tue, 9 Apr 2019 03:24:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf4moepfPs8tr8M8HmtbLHNLbcJMHQYjF7FDcSeF9N52/WQuXupJbLyhLDtTLCeeT0agIB X-Received: by 2002:a17:902:8483:: with SMTP id c3mr19355058plo.19.1554805468529; Tue, 09 Apr 2019 03:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554805468; cv=none; d=google.com; s=arc-20160816; b=NcBnLQ1XY+o47ES862TNd6TRBxyON21GKsZaOfincRXwWXTENtJgv84sLdabGyrJgc nKvANOFpYJfONWzJ6Z+l9JFWYFi10DfQ8wtbZ3lXoHuM25eL6yA0onqlP5rHVnYu8jMW Qc5eoER6HsuT7HSIUleOKCRmTkFEZ3Wla4oxN6/BUR58/n+4ioQpvywK8vjDNeAu8emV LnIaWO1s06o1Z5KV9EN2C7XkTMt4sNdLVTNzvyxqUbNfRfn0u5lLKunz9pywBW4b5Wso 6PLoevs5Ho/nK62560b+ZyA/ZkUrAK1nb1jvGu1CuGJnYUttmAIZuVPY12y1LIAerTqI jInw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZRwt2g94TUOeg/Q9CCwGlxStbb3uwZjwHA2Ngq5eW9A=; b=JJ5eG8NKwLjhG4WiOoiwH5NsI8rVLHQwgxlt9lzErpuw379L8YjCyU5vQ1Ap5vg+E2 FHi3qacD82LHsjQEfeC9y4TO895lQshfkjYLbaY0rETsFoniQhfqdPXizRnWcH3IUY6x 6Zn0fEwJS5a1gDbgToFcwZDrmKYO9dye7iYwPaI8NElbcIn5VJWgyeEwNqCu/nAYPWuK V49Vew2NIrfx/hff+4vt1aJLPFUz7tPjNmB2mUi896O08qYR06ofeHb46rb1DSDL/Bhg MYG70QgaI6A3s/tEVsUe9WJo5rVDKJKCYsGr1puvjiRvWlGXnMk2aw8LE5zOoyOZNdTk KW/Q== 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 c24si21852196plo.220.2019.04.09.03.24.12; Tue, 09 Apr 2019 03:24:28 -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 S1726885AbfDIKXU (ORCPT + 99 others); Tue, 9 Apr 2019 06:23:20 -0400 Received: from verein.lst.de ([213.95.11.211]:49451 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbfDIKXU (ORCPT ); Tue, 9 Apr 2019 06:23:20 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 1180668B02; Tue, 9 Apr 2019 12:23:08 +0200 (CEST) Date: Tue, 9 Apr 2019 12:23:07 +0200 From: Christoph Hellwig To: Maximilian Heyne Cc: David Woodhouse , Amit Shah , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , James Smart , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] nvme: add sysfs controls for io and admin timeouts Message-ID: <20190409102307.GA7741@lst.de> References: <20190403123506.122904-1-mheyne@amazon.de> <20190403123506.122904-3-mheyne@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190403123506.122904-3-mheyne@amazon.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I really don't think the iteration over all queues of a tagset makes a whole lot of sense. We really need to replace the per-queue limit with a per-tagset one (or at least add the per-tagset one) and then allow tweaking that in the block layer instead of writing this boiler plate code.