diff options
author | shishir gowda <sgowda@redhat.com> | 2013-11-18 09:25:24 +0530 |
---|---|---|
committer | Gerrit Code Review <review@dev.gluster.org> | 2013-11-18 20:24:03 -0800 |
commit | a9af293525e8f8dae4ecfb0048fbb60c45dd3a62 (patch) | |
tree | 6a6af002a4d33e1436f958e9f02a81e8e0247690 /xlators/protocol/server/src/server.h | |
parent | 5af3c6e4b3d88690bf1d812534488fcc97625efa (diff) |
protocol/server: Unbarrier in a thread.
Currently if the queue length is large, the response to glusterd
will get blocked
Change-Id: I713e8803a087b5131a35050ca027165562d7e1b7
Signed-off-by: shishir gowda <sgowda@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server.h')
-rw-r--r-- | xlators/protocol/server/src/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.h b/xlators/protocol/server/src/server.h index e76390992..82554aee9 100644 --- a/xlators/protocol/server/src/server.h +++ b/xlators/protocol/server/src/server.h @@ -86,6 +86,7 @@ struct server_conf { pthread_mutex_t mutex; gf_barrier_t *barrier; struct list_head xprt_list; + pthread_t barrier_th; }; typedef struct server_conf server_conf_t; |