Messages in this thread | | | Date | Mon, 9 Jun 2008 10:00:52 +0200 | From | Pavel Machek <> | Subject | Re: 2.6.25-rc6: CONFIG_USB_PERSIST forced on |
| |
Hi!
On Sat 2008-06-07 15:26:12, Linus Torvalds wrote: > On Sat, 7 Jun 2008, Pavel Machek wrote: > > Well, not-usb-persists means we force-unplug disks during suspend, > > after syncing them. Not _too_ bad. > > > > If you unplug disk while hibernated, modify it, and plug it back, > > youget _silent_ filesystem corruption. I call that bad. > > .. and if the USB layer unplugs them unconditionally while the filesystem > is mounted, you _unconditionally_ get a system that doesn't work.
If your device did not loose power during s2ram, it should just work.
There's a tweak you can set in /sys you can set if your device is not removable, you can set it for non-removable devices that _do_ loose power.
Besides, it seems to break suspend/resume of printers, and probably all the drivers that do not have reset_resume() method. That's actually a regression.
https://bugzilla.novell.com/show_bug.cgi?id=394820
Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |