From 5906be31845f6a63ff9d5cd15ad0c13af51b81ea Mon Sep 17 00:00:00 2001 From: Sachin Pandit Date: Wed, 4 Jun 2014 03:41:35 +0530 Subject: glusterd/snapshot : Store the global snapshot config limit in options. Problem : Initially we used to save the global config limit in glusterd.info, The problem with that approach was glusterd.info is local to a particular glusterd and hence is not synced during the handshake of glusterds. Solution : Store the global snapshot config in options, which is synced during handshake. Change-Id: I4c688bb4052a57df28aadba8581b14e2ddb510ef BUG: 1104642 Signed-off-by: Sachin Pandit Reviewed-on: http://review.gluster.org/7971 Reviewed-by: Rajesh Joseph Tested-by: Gluster Build System Reviewed-by: Atin Mukherjee Reviewed-by: Krishnan Parthasarathi Tested-by: Krishnan Parthasarathi --- xlators/mgmt/glusterd/src/glusterd.h | 2 -- 1 file changed, 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 57a5862a368..1dd823a588f 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -173,8 +173,6 @@ typedef struct { gf_boolean_t restart_done; rpcsvc_t *uds_rpc; /* RPCSVC for the unix domain socket */ uint32_t base_port; - uint64_t snap_max_hard_limit; - uint64_t snap_max_soft_limit; char *snap_bricks_directory; gf_store_handle_t *missed_snaps_list_shandle; struct list_head missed_snaps_list; -- cgit