summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/server/src/server.h')
-rw-r--r--xlators/protocol/server/src/server.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/xlators/protocol/server/src/server.h b/xlators/protocol/server/src/server.h
index c5ab579140d..4a1e10ca8b5 100644
--- a/xlators/protocol/server/src/server.h
+++ b/xlators/protocol/server/src/server.h
@@ -28,34 +28,6 @@
#define GF_MAX_SOCKET_WINDOW_SIZE (1 * GF_UNIT_MB)
#define GF_MIN_SOCKET_WINDOW_SIZE (0)
-struct _gf_barrier_payload {
- rpcsvc_request_t *req;
- struct iovec rsp;
- call_frame_t *frame;
- struct iovec *payload;
- struct iobref *iobref;
- struct iobuf *iob;
- int payload_count;
- gf_boolean_t free_iobref;
- struct list_head list;
-};
-
-typedef struct _gf_barrier_payload gf_barrier_payload_t;
-
-struct _gf_barrier {
- gf_lock_t lock;
- gf_boolean_t on;
- gf_boolean_t force;
- size_t cur_size;
- int64_t max_size;
- uint64_t fops;
- gf_timer_t *timer;
- uint64_t time_out;
- struct list_head queue;
-};
-
-typedef struct _gf_barrier gf_barrier_t;
-
typedef enum {
INTERNAL_LOCKS = 1,
POSIX_LOCKS = 2,
@@ -84,7 +56,6 @@ struct server_conf {
struct timespec grace_ts;
dict_t *auth_modules;
pthread_mutex_t mutex;
- gf_barrier_t *barrier;
struct list_head xprt_list;
pthread_t barrier_th;
};