[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49E23298.5050702@linux.intel.com>
Date: Sun, 12 Apr 2009 11:27:36 -0700
From: Arjan van de Ven <arjan@...ux.intel.com>
To: "Rafael J. Wysocki" <rjw@...e.com>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-pm@...ts.linux-foundation.org, Takashi Iwai <tiwai@...e.de>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and
(minor but annoying) audio problem
Rafael J. Wysocki wrote:
>
> OK, updated patch follows, with a changelog.
>
> I've added this check to user.c too, because that code can be called
> independently of the one in disk.c . Also, if resume is user space-driven,
> it's a good idea to wait for all of the device probes to complete before
> continuing.
>
> Thanks,
> Rafael
>
> ---
> From: Rafael J. Wysocki <rjw@...k.pl>
> Subject: 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@...k.pl>
looks like a good fix to me (regardless of the async stuff)
Acked-by: Arjan van de Ven <arjan@...ux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists