From 33e9f9da8546dc57ecf6b3705f6b6474150ec78c Mon Sep 17 00:00:00 2001 From: shishirng Date: Tue, 6 Mar 2012 18:55:37 +0530 Subject: glusterd/rebalance: Bring in support for parallel rebalance This patch, enables rebalance processes to be started on all nodes where the volume is spread across (1 process per node) node-uuid xattr identifies which node takes ownership of the task to migrate the file. The model employed is push (src pushes to dst) Change-Id: Ieacd46a6216cf6ded841bbaebd10cfaea51c16d6 BUG: 763844 Signed-off-by: shishirng Reviewed-on: http://review.gluster.com/2873 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 84d1d11a5..22a9574dc 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -2480,7 +2480,7 @@ posix_getxattr (call_frame_t *frame, xlator_t *this, if (loc->inode && name && (strcmp (name, GF_XATTR_NODE_UUID_KEY) == 0) && !uuid_is_null (priv->glusterd_uuid)) { - (void) snprintf (host_buf, 1024, "<%s>", + (void) snprintf (host_buf, 1024, "%s", uuid_utoa (priv->glusterd_uuid)); dyn_rpath = gf_strdup (host_buf); -- cgit