From c8a6904396142b832ec31c37f43f44b139d24e1f Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Tue, 20 Jan 2015 17:57:22 +0530 Subject: uss: disable memory accounting for the snapshot daemon * Bring in option to disable memory accounting for a glusterfs process This reverses the changes done by the commit 7fba3a88f1ced610eca0c23516a1e720d75160cd. * Change the key from "memory-accounting" to "no-memory-accounting", as by default all the glusterfs process enable memory accounting now. So to disable memory accounting for some process, "no-mem-accounting" argument has to be passed. Change-Id: I39c7cefb0fe764ea3e48f4e73e1305b084c5f497 BUG: 1184366 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.org/9469 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators') diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c b/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c index 33bcf6e7df0..703e5eac66f 100644 --- a/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.c @@ -3520,6 +3520,7 @@ glusterd_snapd_start (glusterd_volinfo_t *volinfo, gf_boolean_t wait) runner_add_arg (&runner, "--xlator-option"); runner_argprintf (&runner, "%s-server.listen-port=%d", volname, snapd_port); + runner_add_arg (&runner, "--no-mem-accounting"); snprintf (msg, sizeof (msg), "Starting the snapd service for volume %s", volname); -- cgit