summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2011-09-01 10:28:15 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-09-01 10:28:15 +1000
commita0d4d240c3d8db196c8eb4f875802bfcffe182f0 (patch)
treed9c7c64bdbc72e0535706bd972c8cc23a8c700b3 /ctdb/include
parent63dc96cdb2b6dcdfed8e49c3f2f6a42ed13d1df5 (diff)
ReadOnly: add a readonly flag to the getdbmap control and show the readonly setting in ctdb getdbmap output
(This used to be ctdb commit 4cac9ad7d9c9ca657a247a6c215476399c7d2210)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index 05e12c7f95..a9e47be40a 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -212,6 +212,7 @@ struct ctdb_dbid_map {
struct ctdb_dbid {
uint32_t dbid;
#define CTDB_DB_FLAGS_PERSISTENT 0x01
+#define CTDB_DB_FLAGS_READONLY 0x02
uint8_t flags;
} dbs[1];
};