All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] GFS2 and uevents document
Date: Thu, 13 Aug 2009 11:13:46 -0400 (EDT)	[thread overview]
Message-ID: <530138690.557931250176426956.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <354693629.557911250176397806.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>

----- "Steven Whitehouse" <swhiteho@redhat.com> wrote:
| Hi,
| 
| Below is a first draft at a document explaining the uevents produced
| by
| GFS2. I'm intending to add it under
| linux-2.6/Documentation/filesystems/gfs-uevents.txt
| 
| Let me know if you spot anything thats wrong or could be better
| explained,
| 
| Steve.

Hi Steve,

Good writeup.  Here are some minor suggestions.

Bob Peterson
--
--- /home/msp/rpeterso/gfs_uevents.orig.txt	2009-08-13 10:02:25.000000000 -0500
+++ /home/msp/rpeterso/gfs_uevents.bobs.txt	2009-08-13 10:10:33.000000000 -0500
@@ -1,9 +1,9 @@
                               uevents and GFS2
                              ==================
 
-During the lifetime of a GFS2 mount, a number of uevents are generated,
-this document explains what the events are and what they are used
-for (by gfs_controld in gfs2-utils)
+During the lifetime of a GFS2 mount, a number of uevents are generated.
+This document explains what the events are and what they are used
+for (by gfs_controld in gfs2-utils).
 
 A list of GFS2 uevents
 -----------------------
@@ -12,26 +12,26 @@ A list of GFS2 uevents
 
 The ADD event occurs at mount time. It will always be the first
 uevent generated by the newly created filesystem. If the mount
-is successful, an ONLINE uevent will follow, if it is not successful
+is successful, an ONLINE uevent will follow.  If it is not successful
 then a REMOVE uevent will follow.
 
 The ADD uevent has two environment variables: SPECTATOR=[0|1]
-and RDONLY=[0|1] which specify the spectator (no journal assigned,
-implies a read-only mount) and read-only status of the filesystem
-respectively.
+and RDONLY=[0|1] that specify the spectator status (a read-only mount
+with no journal assigned), and read-only (with journal assigned) status
+of the filesystem respectively.
 
 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
+RDONLY are a relatively recent addition (2.6.32-rc+) and will not
 be generated by older kernels.
 
 3. CHANGE
 
 The CHANGE uevent is used in two places. One is when reporting the
-sucessful mount of the filesystem by the first node (FIRSTMOUNT=Done).
+successful mount of the filesystem by the first node (FIRSTMOUNT=Done).
 This is used as a signal by gfs_controld that it is then ok for other
 nodes in the cluster to mount the filesystem.
 
@@ -40,7 +40,7 @@ of journal recovery for one of the files
 two environment variables, JID= which specifies the journal id which
 has just been recovered, and RECOVERY=[Done|Failed] to indicate the
 success (or otherwise) of the operation. These uevents are generated
-for every journal recovered whether it is during the initial mount
+for every journal recovered, whether it is during the initial mount
 process or as the result of gfs_controld requesting a specific journal
 recovery via the /sys/fs/gfs2/<fsname>/lock_module/recovery file.
 
@@ -79,7 +79,7 @@ able to join the cluster.
 
 2. LOCKPROTO=
 
-The LOCKPROTO is a string, again its value depends on that set
+The LOCKPROTO is a string, and its value depends on what is set
 on the mount command line, or via fstab. It will be either
 lock_nolock or lock_dlm. In the future other lock managers
 may be supported.
@@ -93,7 +93,7 @@ numeric journal id in all GFS2 uevents.
 4. UUID=
 
 With recent versions of gfs2-utils, mkfs.gfs2 writes a UUID
-into the filesystem superblock. If it exists, then this will
+into the filesystem superblock. If it exists, this will
 be included in every uevent relating to the filesystem.
 
 



       reply	other threads:[~2009-08-13 15:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <354693629.557911250176397806.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
2009-08-13 15:13 ` Bob Peterson [this message]
2009-08-13 14:58 [Cluster-devel] GFS2 and uevents document Steven Whitehouse
2009-08-13 16:02 ` David Teigland
2009-08-13 17:14   ` Steven Whitehouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=530138690.557931250176426956.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com \
    --to=rpeterso@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.