]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/gfs2/super.c
GFS2: Add "-o errors=panic|withdraw" mount options
authorBob Peterson <rpeterso@redhat.com>
Mon, 24 Aug 2009 09:44:18 +0000 (10:44 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Aug 2009 09:44:18 +0000 (10:44 +0100)
commitd34843d0c4a20872f3f3bfb510328bd043b939ff
treef10ab461e0a7e3923856b56eeba75383dffafac7
parentcd0120751d631bc4b99f180c1c22de2caca98207
GFS2: Add "-o errors=panic|withdraw" mount options

This patch adds "-o errors=panic" and "-o errors=withdraw" to the
gfs2 mount options.  The "errors=withdraw" option is today's
current behaviour, meaning to withdraw from the file system if a
non-serious gfs2 error occurs.  The new "errors=panic" option
tells gfs2 to force a kernel panic if a non-serious gfs2 file
system error occurs.  This may be useful, for example, where
fabric-level fencing is used that has no way to reboot (such as
fence_scsi).

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/util.c