diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2018-01-10 23:48:38 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2018-01-18 10:11:39 +0000 |
commit | 46f460fa669ce9f7b9f2de9e54cefc3726dcd029 (patch) | |
tree | 54a22636bc90649186e4b3001d13f861df75c61f /utils/utils.h | |
parent | 5d98272c53816813872aaa807e4ccc1ee2ad1bfc (diff) |
versioning: add capabilities support
Change-Id: Ic63f7c9fa169ee37b796093554c59016fbbfaa46
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'utils/utils.h')
-rw-r--r-- | utils/utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/utils.h b/utils/utils.h index 8a30d25..7141a3f 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -31,6 +31,9 @@ # define GB_LOCK_FILE GB_INFODIR "/gluster-blockd.lock" # define GB_UNIX_ADDRESS GB_INFODIR "/gluster-blockd.socket" + +# define GB_CAPS_FILE CONFDIR "/gluster-block-caps.info" + # define GB_TCP_PORT 24010 # define GB_TCP_PORT_STR "24010" @@ -59,6 +62,11 @@ # define FAILED_CREATING_FILE "failed while creating block file in gluster volume" # define FAILED_CREATING_META "failed while creating block meta file from volume" +/* Target Capabilities */ +# define FAILED_CAPS "failed in capabilities check" +# define FAILED_REMOTE_CAPS "failed in remote capabilities check" +# define FAILED_REMOTE_AYNC_CAPS "failed in remote async capabilities check" + /* Target List */ # define FAILED_LIST "failed in list" |