diff options
| author | Amar Tumballi <amarts@redhat.com> | 2019-03-28 22:07:34 +0530 | 
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2019-04-03 05:21:19 +0000 | 
| commit | d8233cbe529e22f920ea0485ed55d99384642155 (patch) | |
| tree | 0218c2f3a82055eb9fd30cad609ad017c95672bc /xlators | |
| parent | 024cafea8965086267645be0eae86bcdf5a5d106 (diff) | |
sdfs: enable pass-through
we have 'sdfs-sanity.t' which covers at least 90% of the functions
and 70% of lines in the translator. But the recent changes to
disable it due to performance impact made even the test to not
consider the translator.
updates: bz#1693692
Change-Id: I0ebcb307c4ab48a6e59ded27bf39f72ce2304ebc
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators')
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 9f3496b03e2..621ca49ebe6 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -1979,6 +1979,11 @@ brick_graph_add_sdfs(volgen_graph_t *graph, glusterd_volinfo_t *volinfo,      xl = volgen_graph_add(graph, "features/sdfs", volinfo->volname);      if (!xl)          goto out; +    /* If we don't set this option here, the translator by default marks +       it 'pass-through' */ +    ret = xlator_set_fixed_option(xl, "pass-through", "false"); +    if (ret) +        goto out;      ret = 0;  out:  | 
