On Tue, Feb 18, 2025 at 08:54:44AM -0800, Keith Busch wrote: > From: Keith Busch <kbusch@xxxxxxxxxx> > > The spec does not provide any upper limit to how long a device may > return Request Retry Status. It just says "Some devices require a > lengthy self-initialization sequence to complete". The kernel > arbitrarily chose 60 seconds since that really ought to be enough. But > there are devices where this turns out not to be enough. > > Since any timeout choice would be arbitrary, and 60 seconds is generally > more than enough for the majority of hardware, let's make this a > parameter so an admin can adjust it specifically to their needs if the > default timeout isn't appropriate. This patch is trying to address timings that have no spec defined behavior, so making it user tunable sounds just more reasonable than a kernel define. If we're not considering upstream options to make this tunable, I think we have no choice but to continue with bespoke out-of-tree solutions.