Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1349798ybb; Fri, 29 Mar 2019 02:45:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvus0TbfqddnPOG7GVQaYYxhFpS7uhNg17l1KmE42HwkdLpkfL1qhZerf8ivbTr2TCNexC X-Received: by 2002:a17:902:6b47:: with SMTP id g7mr49170284plt.100.1553852743599; Fri, 29 Mar 2019 02:45:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553852743; cv=none; d=google.com; s=arc-20160816; b=VXMb1JOR5W4KW89IpWEGIlomxBI8PJpOFglKb8tEmK346BV6NGwxTeWJdAo0lBKoNl yX9Mx7T4bK/vbr1EK5J+yPfUPSf00F3n/dGf1ehn/ksqvSxlHykQBh1khPd+dWHpBfNh Amga7a/zkh+q4jN7zVl4oycKiWKI8XOEQcj65lTFCmLf/ewhgP9PrdOWs9eHgoP/Sz2a NlahxUjyLK+g4FTJEJk+c1G11TGh2NuOMjCbDQedwnNN5iBMHn0ax2lDQuzbzU/Uk8Gl NcBsoCRo5LCAI4E5o7uUAxK/jSmx0CdudxsAosNr974PsWNWhMZ2FjlPXUhPLdszNZu9 cV/w== 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=/f6bhIwj8mZisCM+8MZ8Vvhlj9tVBFzSFM5ETjDgYlg=; b=r5PHHqlHcppKDCc1ItXxwELBUmrdhMbi2PC8LhK5r1gjzw57Nny7k27gvhd/5Dh1p/ wAumR5iM04jBk4OOJFy++8y4AZRfmHUd0jn47mOXiXRXca59zEtB1CgBeowhwIfLVFtL NEOEJCJI5FKnRrEzuXomw8Z9zWLNIfnaoEWlrR8NF/rVsEufahkCq4jAO05W1u9wi8hb GyOyrD05QIconHPHMQU3DHTfRqTcyvUAs1etuaOPmJCZRKEjprMrPQvByrplVTAI+waS fli20Dkl1MxNHmEhVf65fAr3YFHFQlBjCYpEq6qfQqwvaEzCy82ZutXguHDhTXMIlaRh SY6g== 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 f36si1543482pgf.332.2019.03.29.02.45.27; Fri, 29 Mar 2019 02:45:43 -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 S1728864AbfC2Jov (ORCPT + 99 others); Fri, 29 Mar 2019 05:44:51 -0400 Received: from verein.lst.de ([213.95.11.211]:51321 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728415AbfC2Jov (ORCPT ); Fri, 29 Mar 2019 05:44:51 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 1CEB268CEC; Fri, 29 Mar 2019 10:44:41 +0100 (CET) Date: Fri, 29 Mar 2019 10:44:40 +0100 From: Christoph Hellwig To: Maximilian Heyne Cc: David Woodhouse , Amit Shah , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] nvme: add per-device io and admin timeouts Message-ID: <20190329094440.GA27315@lst.de> References: <20190329093921.95710-1-mheyne@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190329093921.95710-1-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 On Fri, Mar 29, 2019 at 09:39:20AM +0000, Maximilian Heyne wrote: > Some NVMe devices require specific io and admin timeouts that are > different from the default, for instance local vs. remote storage. > > This patch adds per-device admin and io timeouts to the nvme_ctrl > structure and replaces all usages of the module parameters in the PCI > NVMe driver with the per-device timeouts. I'm not all against a per-controller override, but if you controllers really _require_ a different timeout this is not the way to go. Please talk to the nvme technical working group about exposing a default timeout in the controller as that is the only way to make these things work out of box.