diff options
author | shishir gowda <sgowda@redhat.com> | 2012-07-06 09:54:33 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-18 16:42:11 -0700 |
commit | 20fedc3232e876917f963b28a4f4b3bf469b2e6f (patch) | |
tree | eaa298675c5c7ce914d83b979d46e2e358c078e8 /xlators/mgmt/glusterd/src/glusterd-volgen.c | |
parent | 083556e498ede1d97011162b9731f2c4f544af59 (diff) |
cluster/distribute: cli support for setting directory-layout-spread
gluster volume set <volname> subvols-per-directory
Change-Id: I5f1420eeb2268897d9b4c70edb933ed1f07649d1
BUG: 838006
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.com/3634
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index ae86eb18c65..26811601915 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -120,6 +120,7 @@ static struct volopt_map_entry glusterd_volopt_map[] = { {"cluster.min-free-disk", "cluster/distribute", NULL, NULL, NO_DOC, 0 }, {"cluster.min-free-inodes", "cluster/distribute", NULL, NULL, NO_DOC, 0 }, {"cluster.rebalance-stats", "cluster/distribute", NULL, NULL, NO_DOC, 0 }, + {"cluster.subvols-per-directory", "cluster/distribute", "directory-layout-spread", NULL, NO_DOC, 0 }, {"cluster.entry-change-log", "cluster/replicate", NULL, NULL, NO_DOC, 0 }, {"cluster.read-subvolume", "cluster/replicate", NULL, NULL, NO_DOC, 0 }, |