Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem

Arjan van de Ven
2009-04-11T20:05:55Z

Linus Torvalds wrote:
>
> On Sat, 11 Apr 2009, Rafael J. Wysocki wrote:
>> FWIW, I applied the appended patch and it fixed the problem for me.
>
> I think that patch is probably the right thing to do regardless, but I
> also think it doesn't obviate the need for also doing so at module loading
> time.
>
> I'm pretty sure that calling scsi_complete_async_scans() won't protect
> against an async USB bus scan, for example.

but neither does anything else we have in the kernel right now.......
(specifically, USB does not use the async infrastructure)

> But I do think your patch is probably worth doing anyway.

Absolutely; I wonder if we should make a more generic "wait for async storage scans"
function, that just calls this one, but allows other systems to also be in there.
(although.. right now I'd not know which ones it would be).