diff options
author | Poornima G <pgurusid@redhat.com> | 2015-07-20 14:29:24 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-04-25 07:30:16 -0700 |
commit | 3021a9ab666e9f1a5116df84e77659aca613e955 (patch) | |
tree | a4ffe3a08dc27e6192e5bde8fa6482d8579ea336 /xlators/cluster/dht/src/dht-common.h | |
parent | ef3d6fd06cf0712774e721eaf1d0b072f54e0b8a (diff) |
dht: Add lease() fop
Change-Id: I0bbc2c2ef115c78393f6570815a5b80316e7e4be
BUG: 1319992
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/11720
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 7cc549e133c..ad868939523 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -941,6 +941,11 @@ int32_t dht_lk (call_frame_t *frame, int32_t cmd, struct gf_flock *flock, dict_t *xdata); +int32_t dht_lease (call_frame_t *frame, + xlator_t *this, + loc_t *loc, + struct gf_lease *lease, dict_t *xdata); + int32_t dht_inodelk (call_frame_t *frame, xlator_t *this, const char *volume, loc_t *loc, int32_t cmd, struct gf_flock *flock, dict_t *xdata); |