diff options
author | Anand Avati <avati@gluster.com> | 2010-01-23 05:13:24 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-01-23 02:58:31 -0800 |
commit | 9c53d5daf403f6fbfde76dec121295a4c156b32e (patch) | |
tree | a8ebba8bfcb709522f0e66500a7062ef7f001ad1 /libglusterfs/src/xlator.h | |
parent | 95dba6f085379ce8e07f316bc92c479956b5b221 (diff) |
core: fix initialization of disjoint xlator graph
if graph has disjoint subgraphs, send GF_EVENT_PARENT_UP to every top node
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 272 (Server backend storage hang should not cause the mount point to hang)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=272
Diffstat (limited to 'libglusterfs/src/xlator.h')
-rw-r--r-- | libglusterfs/src/xlator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index d0c8ae83643..b8222911a59 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -926,6 +926,8 @@ struct _xlator { void *private; }; +#define xlator_has_parent(xl) (xl->parents != NULL) + int validate_xlator_volume_options (xlator_t *xl, volume_option_t *opt); int32_t xlator_set_type (xlator_t *xl, const char *type); |