From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Thu, 13 Aug 2009 11:02:02 -0500 Subject: [Cluster-devel] GFS2 and uevents document In-Reply-To: <1250175480.3438.4.camel@localhost.localdomain> References: <1250175480.3438.4.camel@localhost.localdomain> Message-ID: <20090813160202.GB8148@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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