summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-helper.h
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2014-09-04 14:11:14 -0400
committerVijay Bellur <vbellur@redhat.com>2014-09-09 12:23:13 -0700
commita325fef8c8f4ca35d65e3891cf72519e925e69f4 (patch)
tree2d5b347f72850a5cba934aabf2d373c2e9edf763 /xlators/cluster/dht/src/dht-helper.h
parent8a6a4a61dc5bb74e09b2da4aa05c3099e5497a02 (diff)
cluster/dht: introduce locking api.
Change-Id: I41389ba91951d3e63e617aa32cd0bee848261c72 BUG: 1138395 Signed-off-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on-master: http://review.gluster.org/8521 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/8609 Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-helper.h')
-rw-r--r--xlators/cluster/dht/src/dht-helper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-helper.h b/xlators/cluster/dht/src/dht-helper.h
new file mode 100644
index 00000000000..e3ab9c4d93b
--- /dev/null
+++ b/xlators/cluster/dht/src/dht-helper.h
@@ -0,0 +1,19 @@
+/*
+ Copyright (c) 2008-2014 Red Hat, Inc. <http://www.redhat.com>
+ This file is part of GlusterFS.
+
+ This file is licensed to you under your choice of the GNU Lesser
+ General Public License, version 3 or any later version (LGPLv3 or
+ later), or the GNU General Public License, version 2 (GPLv2), in all
+ cases as published by the Free Software Foundation.
+*/
+#ifndef _DHT_HELPER_H
+#define _DHT_HELPER_H
+
+int
+dht_lock_order_requests (dht_lock_t **lk_array, int count);
+
+void
+dht_blocking_inodelk_rec (call_frame_t *frame, int i);
+
+#endif