From mboxrd@z Thu Jan 1 00:00:00 1970 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