git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ff8fd
)
change one of the reserved words in the ctdb ltdb header to be a flags field
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 6 Dec 2010 02:04:44 +0000
(13:04 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 6 Dec 2010 03:47:55 +0000
(14:47 +1100)
for now, try avoiding using bits in the low16 bits as flags since this may
collide with laccessor/lacount values from previous versions of the cluster
databases
include/ctdb_protocol.h
patch
|
blob
|
history
diff --git
a/include/ctdb_protocol.h
b/include/ctdb_protocol.h
index 12e4c89be41d04c96cc35f6ccff8686aa1f22e99..52290e890cd243dddf77ca78b8a671ac192afaaa 100644
(file)
--- a/
include/ctdb_protocol.h
+++ b/
include/ctdb_protocol.h
@@
-477,7
+477,7
@@
struct ctdb_ltdb_header {
uint64_t rsn;
uint32_t dmaster;
uint32_t reserved1;
- uint32_t
reserved2
;
+ uint32_t
flags
;
};