From fcd256faa951f459e344ced46f0cc409a5bbc147 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 11 Aug 2014 10:14:18 +0530 Subject: cluster/dht: introduce locking api. Change-Id: I41389ba91951d3e63e617aa32cd0bee848261c72 BUG: 1139998 Signed-off-by: Raghavendra G Reviewed-on: http://review.gluster.org/8521 Reviewed-by: Pranith Kumar Karampuri Tested-by: Gluster Build System Reviewed-by: Vijay Bellur Reviewed-on: http://review.gluster.org/8679 Reviewed-by: Kaleb KEITHLEY --- xlators/cluster/dht/src/dht-helper.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 xlators/cluster/dht/src/dht-helper.h (limited to 'xlators/cluster/dht/src/dht-helper.h') 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. + 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 -- cgit