summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h
index 648a88452..343e6fe4d 100644
--- a/xlators/mgmt/glusterd/src/glusterd.h
+++ b/xlators/mgmt/glusterd/src/glusterd.h
@@ -158,7 +158,8 @@ typedef struct {
rpcsvc_t *uds_rpc; /* RPCSVC for the unix domain socket */
uint32_t base_port;
struct list_head snap_cg;
- uint64_t snap_max_limit;
+ uint64_t snap_max_hard_limit;
+ uint64_t snap_max_soft_limit;
char *snap_bricks_directory;
} glusterd_conf_t;
@@ -285,7 +286,8 @@ struct glusterd_volinfo_ {
int type;
int brick_count;
uint64_t snap_count;
- uint64_t snap_max_limit;
+ uint64_t snap_max_hard_limit;
+ uint64_t snap_max_soft_limit;
struct list_head vol_list;
struct list_head bricks;
struct list_head snaps;