From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756483AbZEEAzx (ORCPT ); Mon, 4 May 2009 20:55:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754328AbZEEAzk (ORCPT ); Mon, 4 May 2009 20:55:40 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:36069 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753023AbZEEAzj (ORCPT ); Mon, 4 May 2009 20:55:39 -0400 X-IronPort-AV: E=Sophos;i="4.40,294,1238976000"; d="scan'208";a="298263208" Date: Mon, 4 May 2009 17:55:39 -0700 From: David VomLehn To: Alan Stern Cc: James Bottomley , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-usb@vger.kernel.org, greg@kroah.com, linux-scsi@vger.kernel.org, netdev@vger.kernel.org, arjan@infradead.org Subject: Re: [PATCH 1/5] initdev:kernel: Asynchronously-discovered device synchronization, v5 Message-ID: <20090505005539.GG29124@cuplxvomd02.corp.sa.net> References: <1241272876.3639.27.camel@mulgrave.int.hansenpartnership.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Authentication-Results: sj-dkim-3; header.From=dvomlehn@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 02, 2009 at 01:55:45PM -0400, Alan Stern wrote: > On Sat, 2 May 2009, James Bottomley wrote: ... > > What I'm getting at is that I don't see the benefit of this in the light > > of Arjan's async boot system, which can also tell us when all discovery > > is complete ... what added benefit am I missing here? > > How does Arjan's async boot system tell use when all discovery is > complete? AFAICS, it only tells you when all its async tasks are > finished. But device discovery and registration sometimes use other > asynchronous techniques which Arjan's code is unaware of. Examples: > the USB khubd thread, the USB mass-storage scanning thread, and the > SCSI async-scanning thread. The patchset does use Arjan's asynchronous function calls in one place. If there are other places it can be used to get equivalent functionality, I'll be happy to do so. > Alan Stern David VomLehn