summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/common.h4
-rw-r--r--utils/utils.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/utils/common.h b/utils/common.h
index 6b0983d..90372ed 100644
--- a/utils/common.h
+++ b/utils/common.h
@@ -20,6 +20,10 @@
# define GFAPI_LOG_FILE "/var/log/gluster-block/gluster-block-gfapi.log"
# define GFAPI_LOG_LEVEL 7
+# define GB_METADIR "/block-meta"
+# define GB_STOREDIR "/block-store"
+# define GB_TXLOCKFILE "meta.lock"
+
ssize_t glusterBlockCreateParseSize(char *value);
diff --git a/utils/utils.h b/utils/utils.h
index 2323418..0545219 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -198,7 +198,7 @@ static const char *const gbCmdlineCreateOptLookup[] = {
[GB_CLI_CREATE_VOLSERVER] = "volserver",
[GB_CLI_CREATE_SIZE] = "size",
[GB_CLI_CREATE_MULTIPATH] = "mpath",
- [GB_CLI_CREATE_BACKEND_SERVESRS] = "backend-servers",
+ [GB_CLI_CREATE_BACKEND_SERVESRS] = "servers",
[GB_CLI_CREATE_OPT_MAX] = NULL