Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp156002lqo; Wed, 27 Mar 2024 09:19:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPbHEmnXN4UKuCXdoDyX3ATm/eQ+Pbh4c1K0/H6wG7+ujsEIX4f6GaqN5sd6DeiHNdZVWL3ICXZsDmumyOAc+a3qu4Fx95VNmmSbpbNw== X-Google-Smtp-Source: AGHT+IFVLQh/w/zxkQn9eE80KIobXxzkQqwi+AiX+sTIxwkK/PIoS/Y71WJ2f9/sSn7gy3xFWCKo X-Received: by 2002:a05:6a00:18a9:b0:6ea:b1f5:1134 with SMTP id x41-20020a056a0018a900b006eab1f51134mr317733pfh.27.1711556379278; Wed, 27 Mar 2024 09:19:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711556379; cv=pass; d=google.com; s=arc-20160816; b=PGa0wQqYYKj3+ChSCbTHFfPLcUwbRUnEJ7Ru4g6T7EUBpoIoFhZBnNReXIcqIhRj5D VFaYHOTFWD2VkJINyct2j7HMaSHREW2H/erJjXdYVs1bWdBbyN2q1fQeo9+BwU9pvuXa tYCJ94my7j1gDDlzEx6SZLeekVYkse6z6u0dcXcMjArivzJjCRyGFcjsxD0wVMur3Eyw g+Q3WomtkQjxh9ydpryCDxnBttClAQbnGx3tWT8x8qTuxWmsufv0SXbT4e7m03Zk1S+b J+Bfdz+FtmPV068yqqA9Ky/tzHKMKF1Q9+f82PNcp3/2iHgJEdx/XZJ5d1LtSxj48mBt 83QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=1aPizB982gPdQOZuvTieUnxfnfhAfZhPTIgVFH6+2WM=; fh=NJ83p9IPUuekDOZJkQQc54YQvJMvWb5A+kxF5vURf4o=; b=nS08mQh7t5Nr0Clkr2Nt1gflARQEBHjdEqVju+oLcyEP3Wq5j4zay9bSFKlpaNClkH p/JOH8cpT1oDXCFTMpIJSO+lA09SnMKhJbNZVZO1GFUR663x3PYOi046vg4xNQPMXBvy tkCzRO924pcwd9NLoFLtAtYdG9GgN0zK55LISQPmcjZHysP4BkgNzBPqif2tWdWNLGuF K8Jbjljpbc0vSeZbhvlZ6SC99UeZ4+hfRQP9GtsokKtPi9MQcRDWvyE3z6mVI1IovYCm dZ9rbQ+y8PzIBOei2ewsq64dVKh9fNFApMrrmr10udQNSJIgYk8qUmp9pzEhO0CaOhYc DqWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-121404-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121404-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h187-20020a6253c4000000b006eaba84a7c1si3671881pfb.27.2024.03.27.09.19.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:19:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121404-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-121404-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121404-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 47E8BB29286 for ; Wed, 27 Mar 2024 14:59:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7855131BB1; Wed, 27 Mar 2024 14:10:28 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id 94A77131BB5 for ; Wed, 27 Mar 2024 14:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.131.102.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711548628; cv=none; b=UI2RAIV52dCsLZpKtVD0Bvf307/H5MXP5+tCMSDLbkCFE0BRQHGVYAz6N+3X8iOyd9shklXXyg0rnTYSsiLqIYu88RX9f6Hq6dRvILD5UAlS7pZvjoKSvKMhimlMuae8BPXU3CxIvB5Eg6sRxezglrdFj+tDYhsaWahqUvkspo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711548628; c=relaxed/simple; bh=1aPizB982gPdQOZuvTieUnxfnfhAfZhPTIgVFH6+2WM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ArahqbRw0KIpop1gJPLA3idS+ikRcmBdJGAEmXK5qd5cK/cTvJdJdKkvS6V5RRBYEDBTvcRnpQiRA38eljzfmTx0BuVx9PBie/AY2Oz2ldFPXFu4cEtqL9Ve/VgW066esCajvHXKDiSkpajyQzj8luTwCHpX7bP78YLXn2sYUJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu; spf=pass smtp.mailfrom=netrider.rowland.org; arc=none smtp.client-ip=192.131.102.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 926866 invoked by uid 1000); 27 Mar 2024 10:10:25 -0400 Date: Wed, 27 Mar 2024 10:10:25 -0400 From: Alan Stern To: Norihiko Hama Cc: Greg KH , "linux-usb@vger.kernel.org" , "usb-storage@lists.one-eyed-alien.net" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] usb-storage: Optimize scan delay more precisely Message-ID: References: <20240327055130.43206-1-Norihiko.Hama@alpsalpine.com> <2024032757-surcharge-grime-d3dd@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 27, 2024 at 07:39:55AM +0000, Norihiko Hama wrote: > > Sorry, but module parameters are from the 1990's, we will not go back to that if at all possible as it's not easy to maintain and will not work properly for multiple devices. > > > > I can understand wanting something between 1 and 0 seconds, but adding yet-another-option isn't probably the best way, sorry. > 1 second does not meet with performance requirement. > I have no good idea except module parameter so that we can maintain backward compatibility but be configurable out of module. > Do you have any other better solution? Can you accomplish what you want with a quirk flag? Alan Stern