diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-10-07 18:23:50 -0400 |
---|---|---|
committer | Sunil Mushran <sunil.mushran@oracle.com> | 2010-10-07 18:23:50 -0400 |
commit | 2c442719e90a44a6982c033d69df4aae4b167cfa (patch) | |
tree | 33719bdeeab9dc0fcb5898ca673aaa248b639dbb /fs/ocfs2/ocfs2.h | |
parent | 98f486f23bc5b6a6fa90e1a0707b7e9fe0e7f3e4 (diff) |
ocfs2: Add support for heartbeat=global mount option
Adds support for heartbeat=global mount option. It ensures that the heartbeat
mode passed matches the one enabled on disk.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r-- | fs/ocfs2/ocfs2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index d5496a792bdb..481387b90b21 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h | |||
@@ -243,7 +243,7 @@ enum ocfs2_local_alloc_state | |||
243 | 243 | ||
244 | enum ocfs2_mount_options | 244 | enum ocfs2_mount_options |
245 | { | 245 | { |
246 | OCFS2_MOUNT_HB_LOCAL = 1 << 0, /* Heartbeat started in local mode */ | 246 | OCFS2_MOUNT_HB_LOCAL = 1 << 0, /* Local heartbeat */ |
247 | OCFS2_MOUNT_BARRIER = 1 << 1, /* Use block barriers */ | 247 | OCFS2_MOUNT_BARRIER = 1 << 1, /* Use block barriers */ |
248 | OCFS2_MOUNT_NOINTR = 1 << 2, /* Don't catch signals */ | 248 | OCFS2_MOUNT_NOINTR = 1 << 2, /* Don't catch signals */ |
249 | OCFS2_MOUNT_ERRORS_PANIC = 1 << 3, /* Panic on errors */ | 249 | OCFS2_MOUNT_ERRORS_PANIC = 1 << 3, /* Panic on errors */ |
@@ -256,6 +256,8 @@ enum ocfs2_mount_options | |||
256 | control lists */ | 256 | control lists */ |
257 | OCFS2_MOUNT_USRQUOTA = 1 << 10, /* We support user quotas */ | 257 | OCFS2_MOUNT_USRQUOTA = 1 << 10, /* We support user quotas */ |
258 | OCFS2_MOUNT_GRPQUOTA = 1 << 11, /* We support group quotas */ | 258 | OCFS2_MOUNT_GRPQUOTA = 1 << 11, /* We support group quotas */ |
259 | OCFS2_MOUNT_HB_NONE = 1 << 12, /* No heartbeat */ | ||
260 | OCFS2_MOUNT_HB_GLOBAL = 1 << 13, /* Global heartbeat */ | ||
259 | }; | 261 | }; |
260 | 262 | ||
261 | #define OCFS2_OSB_SOFT_RO 0x0001 | 263 | #define OCFS2_OSB_SOFT_RO 0x0001 |