Re: [PATCH 1/5] initdev:kernel: Asynchronously-discovered device synchronization, v5

David VomLehn
2009-05-05T00:55:39Z

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