From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758956AbZDKUFz (ORCPT ); Sat, 11 Apr 2009 16:05:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756122AbZDKUFq (ORCPT ); Sat, 11 Apr 2009 16:05:46 -0400 Received: from mga12.intel.com ([143.182.124.36]:52661 "EHLO azsmga102.ch.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755584AbZDKUFp (ORCPT ); Sat, 11 Apr 2009 16:05:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.40,173,1239001200"; d="scan'208";a="130448343" Message-ID: <49E0F805.2090502@linux.intel.com> Date: Sat, 11 Apr 2009 13:05:25 -0700 From: Arjan van de Ven User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Linus Torvalds CC: "Rafael J. Wysocki" , linux-pm@lists.linux-foundation.org, Takashi Iwai , LKML , Andrew Morton , Ingo Molnar Subject: Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem References: <200904100057.43827.rjw@sisk.pl> <49DFFC05.7070509@linux.intel.com> <200904112138.26518.rjw@suse.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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).