diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-07-26 02:25:09 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-27 01:19:55 -0700 |
commit | 470127fba6ca05671bd6b2ef9c187877711bf6cb (patch) | |
tree | 054afd8785dd7f72bc3b99e11bd174300fead556 /xlators/mgmt/glusterd/src/glusterd.h | |
parent | a5534cc60911ca914111710e9faa3376b198c8e3 (diff) |
Changes in pidfile format for start and stop volumes
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1217 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1217
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index f140bd9f77e..5fccc0199bd 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -92,8 +92,8 @@ typedef ssize_t (*gd_serialize_t) (struct iovec outmsg, void *args); snprintf (path, PATH_MAX, "%s/vols/%s", priv->workdir,\ volinfo->volname); -#define GLUSTERD_GET_BRICK_PIDFILE(pidfile, volpath, hostname)\ - snprintf (pidfile, PATH_MAX, "%s/run/%s.pid", volpath, hostname); +#define GLUSTERD_GET_BRICK_PIDFILE(pidfile, volpath, hostname, count) \ + snprintf (pidfile, PATH_MAX, "%s/run/%s-%d.pid", volpath, hostname, count); int glusterd_probe_begin (rpcsvc_request_t *req, const char *hoststr, int port); |