[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Cluster-devel] GFS2 and uevents document



On Thu, Aug 13, 2009 at 03:58:00PM +0100, Steven Whitehouse wrote:
> 2. ONLINE
> 
> The ONLINE uevent is generated after a successful mount or remount. It
> has the same environment variables as the ADD uevent. The ONLINE
> uevent, along with the two environment variables for spectator and
> rdonly are a relatively recent addition (2.6.32-rc+) and will not
> be generated by older kernels.

The standard way to know if a mount is successful is to look at the return
value from mount(2).  Is a second way really needed?  Will whatever userspace
code that needs the result need to wait for and collect both results?  Will
both results always agree?  Will the results appear in the same order?  For
repeated mount/unmount of the same fs is there a way to match the ONLINE
uevent's to the specific mount call that produced it?

Dave


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]