git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a11e9
)
ReadOnly: Add 4 new record flags to handle read only delegation and revoking of deleg...
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 20 Jul 2011 02:17:27 +0000
(12:17 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sun, 5 Feb 2012 22:02:48 +0000
(09:02 +1100)
include/ctdb_protocol.h
patch
|
blob
|
history
diff --git
a/include/ctdb_protocol.h
b/include/ctdb_protocol.h
index b805182b6fee9e18dca204f77ca0de986510303b..da7f0528d3552d8626892d2ec6cd42cf911aa598 100644
(file)
--- a/
include/ctdb_protocol.h
+++ b/
include/ctdb_protocol.h
@@
-488,6
+488,10
@@
struct ctdb_ltdb_header {
#define CTDB_REC_FLAG_MIGRATED_WITH_DATA 0x00010000
#define CTDB_REC_FLAG_VACUUM_MIGRATED 0x00020000
#define CTDB_REC_FLAG_AUTOMATIC 0x00040000
+#define CTDB_REC_RO_HAVE_DELEGATIONS 0x01000000
+#define CTDB_REC_RO_HAVE_READONLY 0x02000000
+#define CTDB_REC_RO_REVOKING_READONLY 0x04000000
+#define CTDB_REC_RO_REVOKE_COMPLETE 0x08000000
uint32_t flags;
};