linux/kernel/power
Rafael J. Wysocki c751085943 PM/Hibernate: Wait for SCSI devices scan to complete during resume
There is a race between resume from hibernation and the asynchronous
scanning of SCSI devices and to prevent it from happening we need to
call scsi_complete_async_scans() during resume from hibernation.

In addition, if the resume from hibernation is userland-driven, it's
better to wait for all device probes in the kernel to complete before
attempting to open the resume device.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-13 11:37:07 -07:00
..
console.c PM: Wait for console in resume 2009-02-21 14:17:17 -08:00
disk.c PM/Hibernate: Wait for SCSI devices scan to complete during resume 2009-04-13 11:37:07 -07:00
Kconfig PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB 2008-11-01 12:40:38 -07:00
main.c PM: Change suspend code ordering 2009-03-30 21:46:54 +02:00
Makefile PM: fix build for CONFIG_PM unset 2009-02-21 14:17:17 -08:00
power.h [PATCH] propagate mode through swsusp_close() 2008-10-21 07:49:02 -04:00
poweroff.c cpumask: convert rest of files in kernel/ 2009-01-01 10:12:28 +10:30
process.c container freezer: skip frozen cgroups during power management resume 2008-10-20 08:52:34 -07:00
snapshot.c mm: introduce for_each_populated_zone() macro 2009-04-01 08:59:11 -07:00
swap.c block: fix bad definition of BIO_RW_SYNC 2009-02-18 10:32:00 +01:00
swsusp.c pm: rework includes, remove arch ifdefs 2009-04-01 08:59:16 -07:00
user.c PM/Hibernate: Wait for SCSI devices scan to complete during resume 2009-04-13 11:37:07 -07:00