USB: add USB-Persist facility
This patch (as886) adds the controversial USB-persist facility, allowing USB devices to persist across a power loss during system suspend. The facility is controlled by a new Kconfig option (with appropriate warnings about the potential dangers); when the option is off the behavior will remain the same as it is now. But when the option is on, people will be able to use suspend-to-disk and keep their USB filesystems intact -- something particularly valuable for small machines where the root filesystem is on a USB device! Signed-off-by:Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- Documentation/power/swsusp.txt 3 additions, 0 deletionsDocumentation/power/swsusp.txt
- Documentation/usb/persist.txt 144 additions, 0 deletionsDocumentation/usb/persist.txt
- drivers/hid/usbhid/hid-core.c 1 addition, 1 deletiondrivers/hid/usbhid/hid-core.c
- drivers/usb/core/Kconfig 22 additions, 0 deletionsdrivers/usb/core/Kconfig
- drivers/usb/core/driver.c 24 additions, 15 deletionsdrivers/usb/core/driver.c
- drivers/usb/core/generic.c 4 additions, 1 deletiondrivers/usb/core/generic.c
- drivers/usb/core/hub.c 140 additions, 56 deletionsdrivers/usb/core/hub.c
- drivers/usb/core/usb.h 1 addition, 0 deletionsdrivers/usb/core/usb.h
- drivers/usb/storage/usb.c 6 additions, 2 deletionsdrivers/usb/storage/usb.c
- include/linux/usb.h 6 additions, 2 deletionsinclude/linux/usb.h
Loading
Please register or sign in to comment