summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/saved-frames.h
diff options
context:
space:
mode:
authorKrishna Srinivas <krishna@zresearch.com>2009-02-24 06:52:55 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-25 16:48:28 +0530
commit8479df9809107f20df31afb332b8fb6a1931b861 (patch)
treeb7fc430e6ec3fec6a4e394d3a5b148ccfffe315a /xlators/protocol/client/src/saved-frames.h
parentab7fe2987fb4e2c2bd3158682fbb8c1977a049de (diff)
per frame time out - i.e individual frames are unwound instead of the transport point itself being disconnected. timeout is configured using "transport-timeout".
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/protocol/client/src/saved-frames.h')
-rw-r--r--xlators/protocol/client/src/saved-frames.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/saved-frames.h b/xlators/protocol/client/src/saved-frames.h
index e402feba3..96d956884 100644
--- a/xlators/protocol/client/src/saved-frames.h
+++ b/xlators/protocol/client/src/saved-frames.h
@@ -67,6 +67,11 @@ int saved_frames_put (struct saved_frames *frames, call_frame_t *frame,
int32_t op, int8_t type, int64_t callid);
call_frame_t *saved_frames_get (struct saved_frames *frames, int32_t op,
int8_t type, int64_t callid);
+
+struct saved_frame *
+saved_frames_get_timedout (struct saved_frames *frames, int8_t type,
+ uint32_t timeout, struct timeval *current);
+
void saved_frames_destroy (xlator_t *this, struct saved_frames *frames,
gf_op_t gf_fops[], gf_op_t gf_mops[],
gf_op_t gf_cbks[]);