From 5d57885a1b63ba89406c0dbd02bb254eacf531bd Mon Sep 17 00:00:00 2001 From: Avra Sengupta Date: Mon, 16 Dec 2013 03:09:58 +0000 Subject: glusterd/snapshot: Introducing snap-max-hard-limit and snap-max-soft-limit Note: Manually adding this patch again as this patch got missed in git reset option done on remote development branch Change-Id: I9e81c5ec003c1e1722d0fcb27dd87c365ee43ff4 Signed-off-by: Avra Sengupta Signed-off-by: Rajesh Joseph --- xlators/mgmt/glusterd/src/glusterd.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd.h') 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; -- cgit