diff options
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index d478b058b91..22c3edd15aa 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -8124,3 +8124,17 @@ int32_t dht_set_local_rebalance (xlator_t *this, dht_local_t *local, return 0; } +gf_boolean_t +dht_is_tier_xlator (xlator_t *this) +{ + + if (strcmp (this->type, "cluster/tier") == 0) + return _gf_true; + return _gf_false; +} + +int32_t +dht_release (xlator_t *this, fd_t *fd) +{ + return dht_fd_ctx_destroy (this, fd); +} |