aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/rgrp.h
diff options
context:
space:
mode:
authorGravatar Steven Whitehouse <swhiteho@redhat.com> 2010-09-29 15:04:18 +0100
committerGravatar Steven Whitehouse <swhiteho@redhat.com> 2010-09-29 15:04:18 +0100
commitfeb47ca9314666d920855b8a235032dea2b2caa4 (patch)
tree163a391bda495826747eb249cf74b42ad35bd5ec /fs/gfs2/rgrp.h
parentGFS2: Add "norecovery" mount option as a synonym for "spectator" (diff)
downloadlinux-feb47ca9314666d920855b8a235032dea2b2caa4.tar.gz
linux-feb47ca9314666d920855b8a235032dea2b2caa4.tar.bz2
linux-feb47ca9314666d920855b8a235032dea2b2caa4.zip
GFS2: Improve journal allocation via sysfs
Recently a feature was added to GFS2 to allow journal id allocation via sysfs. This patch builds upon that so that a negative journal id will be treated as an error code to be passed back as the return code from mount. This allows termination of the mount process if there is a failure. Also, the process has been updated so that the kernel will wait for a journal id, even in the "spectator" case. This is required in order to avoid mounting a filesystem in case there is an error while joining the cluster. In the spectator case, 0 is written into the file to indicate that all is well, and that mount should continue. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.h')
0 files changed, 0 insertions, 0 deletions