Skip to contentSkip to conversation

GFS2: Add "norecovery" mount option as a synonym for "spectator"

Cluster-devel Steven Whitehouse 1 participant 1 message Sep 29, 2010 GFS2 file system

lore
Share & tools
lore
#0 lore raw

From 43f74c199563a4273e528e2166d0650625a1e05f Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Wed, 29 Sep 2010 14:24:41 +0100
Subject: GFS2: Add "norecovery" mount option as a synonym for "spectator"

XFS supports the "norecovery" mount option which is basically the same as the GFS2 spectator mode. This adds support for "norecovery" as a synonym for spectator mode, which is hopefully a more obvious description of what it actually does.

fs/gfs2/super.c +1 -0
index d85e0b7..047d117 100644
@@ -85,6 +85,7 @@ static const match_table_t tokens = {
 	{Opt_locktable, "locktable=%s"},
 	{Opt_hostdata, "hostdata=%s"},
 	{Opt_spectator, "spectator"},
+	{Opt_spectator, "norecovery"},
 	{Opt_ignore_local_fs, "ignore_local_fs"},
 	{Opt_localflocks, "localflocks"},
 	{Opt_localcaching, "localcaching"},
Signature · 1 line
1.7.1.1