diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-07-20 14:21:04 +1000 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-08-23 10:29:40 +1000 |
| commit | 17f0e0890cd5ad2ea8ab18ad620d4e41d81b537f (patch) | |
| tree | 29d933982e22b04824591d0cd5164950f58a5206 /ctdb/include | |
| parent | dda2616cf5bcd8676dc818190b2418aabdbac313 (diff) | |
ReadOnly: Add a new flag to call request packet to indicate that the client wants a readonly delegation
(This used to be ctdb commit a3f54a556e97170eedf43708d58dd32446ca5840)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index da7f0528d3..be7e768436 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -41,8 +41,9 @@ struct ctdb_call { TDB_DATA call_data; TDB_DATA reply_data; uint32_t status; -#define CTDB_IMMEDIATE_MIGRATION 0x00000001 +#define CTDB_IMMEDIATE_MIGRATION 0x00000001 #define CTDB_CALL_FLAG_VACUUM_MIGRATION 0x00000002 +#define CTDB_WANT_READONLY 0x00000004 uint32_t flags; }; |
