summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-07-12 05:30:17 +0000
committerAnand Avati <avati@gluster.com>2011-07-12 05:38:04 -0700
commit8d340ec57557708a8e9db24d397ef3a9e0220a49 (patch)
treecde9ca05e57ff7616156d3947e3ad10f34693bb3
parent7685cec5832a0b9dd947ed126cdef0098117bba8 (diff)
glusterd rebalance: mount with '--acl' option for rebalancing.
so posix-acl xattrs gets rebalanced too. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3069 ('gluster rebalance' doesn't preserve any of the extended attributes of the migrated file) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3069
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 6119ad3..a3d87d8 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -624,7 +624,7 @@ glusterd_handle_defrag_start (glusterd_volinfo_t *volinfo, char *op_errstr,
snprintf (cmd_str, sizeof (cmd_str),
"%s/sbin/glusterfs -s localhost --volfile-id %s "
- "--xlator-option *dht.use-readdirp=yes "
+ "--acl --xlator-option *dht.use-readdirp=yes "
"--xlator-option *dht.lookup-unhashed=yes %s",
GFS_PREFIX, volinfo->volname,
defrag->mount);