diff options
author | Poornima G <pgurusid@redhat.com> | 2015-05-27 12:55:50 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-04-29 22:39:06 -0700 |
commit | 9b60198b1a22228f85615e377c9b0cbe1e4f4ce6 (patch) | |
tree | 6117711192e30c9488484fa049ed42ee381acf37 /libglusterfs | |
parent | 3c8922d123471de0c5da499420fcac6b10179786 (diff) |
Leases: Add a server side xlator to handle lease requests
Before this patch, there was an effort to implement leases
in upcall xlator, these patches by Soumya and me can be
found @ http://review.gluster.org/#/c/10084/
Change-Id: I926728c7ec690727a8971039b240655882d02059
BUG: 1319992
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/11643
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: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/glfs-message-id.h | 7 | ||||
-rw-r--r-- | libglusterfs/src/mem-types.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libglusterfs/src/glfs-message-id.h b/libglusterfs/src/glfs-message-id.h index d772dd37983..de7c494d326 100644 --- a/libglusterfs/src/glfs-message-id.h +++ b/libglusterfs/src/glfs-message-id.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com> + Copyright (c) 2015-2016 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 @@ -174,6 +174,11 @@ GLFS_MSGID_COMP_SYMLINK_CACHE_END #define GLFS_MSGID_COMP_DC GLFS_MSGID_COMP_PL_END #define GLFS_MSGID_COMP_DC_END (GLFS_MSGID_COMP_PL_END+\ GLFS_MSGID_SEGMENT) + +#define GLFS_MSGID_COMP_LEASES GLFS_MSGID_COMP_DC_END +#define GLFS_MSGID_COMP_LEASES_END (GLFS_MSGID_COMP_LEASES +\ + GLFS_MSGID_SEGMENT) + /* --- new segments for messages goes above this line --- */ #endif /* !_GLFS_MESSAGE_ID_H_ */ diff --git a/libglusterfs/src/mem-types.h b/libglusterfs/src/mem-types.h index e185a49ec21..09d096b83f5 100644 --- a/libglusterfs/src/mem-types.h +++ b/libglusterfs/src/mem-types.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com> + Copyright (c) 2008-2016 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 @@ -164,6 +164,7 @@ enum gf_common_mem_types_ { /*used for compound fops*/ gf_mt_compound_req_t, gf_mt_compound_rsp_t, + gf_common_mt_tw_timer_list, gf_common_mt_end }; #endif |