diff options
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 3e12c4f5fb0..ca646e4dcce 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -11,6 +11,8 @@ #include "glusterd-volgen.h" #include "glusterd-utils.h" +#if USE_GFDB /* no GFDB means tiering is disabled */ + static int get_tier_freq_threshold (glusterd_volinfo_t *volinfo, char *threshold_key) { int threshold = 0; @@ -474,6 +476,8 @@ out: return ret; } +#endif /* End for USE_GFDB */ + static int validate_cache_max_min_size (glusterd_volinfo_t *volinfo, dict_t *dict, char *key, char *value, char **op_errstr) |