diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-03-24 11:36:59 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-27 11:27:24 -0700 |
commit | 651514dd66019a9f37dfa96374e31dd497a18a59 (patch) | |
tree | 185639eb5199a4ca671410721c3723f7d4febef0 /xlators/mgmt/glusterd | |
parent | eeef9bf8c93b9a11df6ef530924ba4ab44e0092a (diff) |
features/shard: Bug fixes
* Return number of bytes written in writev cbk on success
* Eliminate separate inode table for sharding xlator.
* Fix appearance of "shard" as an option within the
volfile for subvolume of type features/shard.
* Fix values of min and max allowed shard block size
* Return @new as opposed to NULL in shard_create_gfid_dict() on success
Change-Id: I6319d377a196d1c5ceed1f65d337ff8eabcb21f8
BUG: 1205661
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/10003
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index d95f1fcaa0a..4637bda59c6 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1765,6 +1765,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "features.shard", .voltype = "features/shard", .value = "off", + .option = "!shard", .op_version = GD_OP_VERSION_3_7_0, .flags = OPT_FLAG_CLIENT_OPT }, |