summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorVarsha Rao <varao@redhat.com>2018-02-26 12:55:06 +0530
committerAmar Tumballi <amarts@redhat.com>2018-02-27 03:45:30 +0000
commit430bff7dc330eec9447423e95f2cae49744a79c3 (patch)
treeedfa5b8771911bfd030f504eb82d5ab7a677e988 /libglusterfs
parent8e21ea3e4f66c27fca796b51f77e4a0231211ff4 (diff)
performance/io-threads: nuke everything from a client when it disconnects
> io-threads: nuke everything from a client when it disconnects > Commit ID: 4d8268d760 > https://review.gluster.org/#/c/18254/ > By Jeff Darcy <jdarcy@fb.com> This patch is required to forward port io-threads namespace patch. Updates: #401 Change-Id: I13d3a74862eea3d01e8dbc8736987c3dae6e8b2a Signed-off-by: Varsha Rao <varao@redhat.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/call-stub.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libglusterfs/src/call-stub.h b/libglusterfs/src/call-stub.h
index e20f6a5a096..c3b63d4c758 100644
--- a/libglusterfs/src/call-stub.h
+++ b/libglusterfs/src/call-stub.h
@@ -18,10 +18,11 @@
#include "list.h"
typedef struct _call_stub {
- struct list_head list;
- char wind;
- call_frame_t *frame;
- glusterfs_fop_t fop;
+ struct list_head list;
+ char wind;
+ call_frame_t *frame;
+ glusterfs_fop_t fop;
+ gf_boolean_t poison;
struct mem_pool *stub_mem_pool; /* pointer to stub mempool in ctx_t */
uint32_t jnl_meta_len;
uint32_t jnl_data_len;