diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-12-18 01:01:47 +0000 |
---|---|---|
committer | Avra Sengupta <asengupt@redhat.com> | 2014-01-07 15:26:25 +0530 |
commit | 4afa88d6cc39be11f122489900af07b57a50fcc4 (patch) | |
tree | d7a829bc7be6e98a2979ff35410ddccd674395bb /cli/src/cli-cmd-snapshot.c | |
parent | a783136347ed2716f3f0ee0ca284f291f4e29652 (diff) |
glusterd/snapshot: Defining snap-max-soft-limit as a percentage of snap-max-hard-limit.
This patch also prohibits configuration of snap-max-hard-limit
and snap-max-soft-limit for snap volumes. Also displaying the
snapshot configs by reading data only from local node, as all
config data will be in sync across the cluster.
Change-Id: I635b925c02ed5b108cd10c7193b154ad82d5afad
BUG: 1043792
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
-rw-r--r-- | cli/src/cli-cmd-snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c index 556278931..6d31dc2d5 100644 --- a/cli/src/cli-cmd-snapshot.c +++ b/cli/src/cli-cmd-snapshot.c @@ -90,7 +90,7 @@ struct cli_cmd snapshot_cmds[] = { cli_cmd_snapshot_cbk, "Snapshot List." }, - {"snapshot config < volname | all > [ snap-max-hard-limit <count> | snap-max-soft-limit <count> ]", + {"snapshot config < volname | all > [ snap-max-hard-limit <count> | snap-max-soft-limit <percent> ]", cli_cmd_snapshot_cbk, "Snapshot Config." }, |