lkml.org 
[lkml]   [2009]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/7] initdev:kernel:Await block device discovery
David VomLehn wrote:
> On Sat, Jun 06, 2009 at 06:04:38AM -0400, Stefan Richter wrote:
>> 1.) It depends on the rootdelay so big that it is guaranteed that one
>> or more initdev_found() have been called before prepare_namespace()'s
>> ssleep(root_delay) is over.
...
> I think you misunderstood. Buses are enumerated before this code is
> reached and thus initdev_found() has already been called for all attached
> block devices.
...
> I would appreciate it if you could take a closer look at the locations where
> initdev_found() and initdev_probe_done() are called and see if you still
> think there is a problem.

I obviously need to do that.

However, one issue remains: If somebody wants to use your API for
another bus, he needs to know at which point he can successfully use it,
and after what point (or context) it cannot, even must not, be used
anymore. This isn't documented --- or is it?

(By 'buses are enumerated before...' you surely mean only the buses for
which you implemented this API usage already.)
--
Stefan Richter
-=====-==--= -==- -=--=
http://arcgraph.de/sr/


\
 
 \ /
  Last update: 2009-06-09 00:59    [W:0.037 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site