diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-04-28 05:58:41 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-04-30 02:13:26 -0700 |
commit | d09b327a2796152eb80074169e17359394ae7cf8 (patch) | |
tree | 3578f654c5a2a97aab689fd5e8e5518402c3eda9 /xlators/protocol/server/src/server-helpers.h | |
parent | e2034a84d284c37ade9f49be1589e3f53321bb23 (diff) |
glusterd/snapshot : Clean up of old barrier code.
As a new barrier translator is introduced, we dont require
the old barrier code. Hence cleaning thar up.
Change-Id: Ieedca6f33a746898f0d2332fda1f1d4c86fff98f
BUG: 1061685
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7577
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.h')
-rw-r--r-- | xlators/protocol/server/src/server-helpers.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xlators/protocol/server/src/server-helpers.h b/xlators/protocol/server/src/server-helpers.h index 486048b8ad3..e7238d9ca6a 100644 --- a/xlators/protocol/server/src/server-helpers.h +++ b/xlators/protocol/server/src/server-helpers.h @@ -29,10 +29,6 @@ #define IS_NOT_ROOT(pathlen) ((pathlen > 2)? 1 : 0) -#define is_fop_barriered(fops, procnum) (fops & ((uint64_t)1 << procnum)) - -#define barrier_add_to_queue(barrier) (barrier->on || barrier->cur_size) - void free_state (server_state_t *state); void server_loc_wipe (loc_t *loc); @@ -61,16 +57,4 @@ int auth_set_username_passwd (dict_t *input_params, dict_t *config_params, struct _client_t *client); server_ctx_t *server_ctx_get (client_t *client, xlator_t *xlator); - -int32_t gf_barrier_start (xlator_t *this); -int32_t gf_barrier_stop (xlator_t *this); -int32_t gf_barrier_fops_configure (xlator_t *this, gf_barrier_t *barrier, - char *str); -void gf_barrier_enqueue (gf_barrier_t *barrier, gf_barrier_payload_t *stub); -gf_barrier_payload_t * -gf_barrier_payload (rpcsvc_request_t *req, struct iovec *rsp, - call_frame_t *frame, struct iovec *payload, - int payloadcount, struct iobref *iobref, - struct iobuf *iob, gf_boolean_t free_iobref); - #endif /* !_SERVER_HELPERS_H */ |