Re: [PATCH] USB: Only enable autosuspend by default on certain device classes
From: Matthew Garrett
Date: Fri Aug 03 2007 - 11:11:15 EST
On Fri, Aug 03, 2007 at 10:41:13AM -0400, Alan Stern wrote:
> On Fri, 3 Aug 2007, Matthew Garrett wrote:
> > I'm not so
> > enthusiastic about the "Increase the timeout case" - it doesn't avoid
> > any races, just makes them less likely. USB is likely to get loaded in
> > the initramfs, but we may not have a full set of udev rules until the
> > root fs is up and that can take an effectively arbitrarily large amount
> > of time.
>
> If it takes longer than 15 minutes, something is wrong. At that point
> the user will have worse things to worry about than whether some USB
> devices got suspended.
Imagine cases where / is fscked from initramfs?
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/