From 8479df9809107f20df31afb332b8fb6a1931b861 Mon Sep 17 00:00:00 2001 From: Krishna Srinivas Date: Tue, 24 Feb 2009 06:52:55 -0800 Subject: 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 --- xlators/protocol/client/src/saved-frames.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xlators/protocol/client/src/saved-frames.h') 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[]); -- cgit