summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2012-09-17 16:14:41 +0530
committerAnand Avati <avati@redhat.com>2012-09-21 13:21:50 -0700
commita6234eeb2a0fb106b801a3241ce7538fd5562ff6 (patch)
tree7895498db07e65291f5657634db1bc486844b62a /libglusterfs/src/xlator.h
parentaa4468cdf5acfb0087151349befa1b0d49448bd6 (diff)
libglusterfs/graph: pass correct translator pairs during reconfigure
when we autoload xlators like acl, worm or mac-compatibility, they will be loaded on top of old graph. However, corresponding ones won't be present in new graph, since newgraph doesn't contain autoloaded translators. While passing xlator pairs to reconfigure, this fact should be accounted and correct xlator pairs should be passed instead of blindly passing oldgraph->first and newgraph->first. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Change-Id: I8f4fe37b7e26dc2dcae78c1fe0d4a04f8ab84ed0 BUG: 857874 Reviewed-on: http://review.gluster.org/3949 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/xlator.h')
-rw-r--r--libglusterfs/src/xlator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index eaaa4472434..ec58dc170f1 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -824,6 +824,7 @@ struct _xlator {
/* for the memory pool of 'frame->local' */
struct mem_pool *local_pool;
+ gf_boolean_t is_autoloaded;
};
#define xlator_has_parent(xl) (xl->parents != NULL)