summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.h
diff options
context:
space:
mode:
authorVenkatesh Somyajulu <vsomyaju@redhat.com>2014-06-17 14:45:44 +0530
committerVijay Bellur <vbellur@redhat.com>2014-06-17 05:26:27 -0700
commit3a499d170de2c7df06b127b709d27c64cef98886 (patch)
tree7cdc8d50872c788d2d1051e3fc9c20d6513ccda7 /xlators/cluster/dht/src/dht-common.h
parente232b4c674dad697bb520c34fa4c445d0ababfc3 (diff)
cluster/dht: Bring option to choose gfid or name based hashing
Change-Id: I11794eb2adceb88e75864aede450e904431a6273 BUG: 1095888 Signed-off-by: Venkatesh Somyajulu <vsomyaju@redhat.com> Reviewed-on: http://review.gluster.org/8049 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r--xlators/cluster/dht/src/dht-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h
index 6fa5b91d97d..e1e3a5a4e38 100644
--- a/xlators/cluster/dht/src/dht-common.h
+++ b/xlators/cluster/dht/src/dht-common.h
@@ -303,6 +303,7 @@ struct dht_conf {
char *xattr_name;
char *link_xattr_name;
char *wild_xattr_name;
+ gf_boolean_t randomize_by_gfid;
};
typedef struct dht_conf dht_conf_t;