diff options
author | Yehuda Sadeh | 2010-02-27 00:32:31 +0100 |
---|---|---|
committer | Sage Weil | 2010-03-04 20:26:35 +0100 |
commit | 422d2cb8f9afadba1ecd3614f658b6daaaa480fb (patch) | |
tree | 22e1a61acdbbe1459b190c4dbb6019360464b2e9 /crypto/lrw.c | |
parent | ceph: fix flush_dirty_caps race with caps migration (diff) | |
download | kernel-qcow2-linux-422d2cb8f9afadba1ecd3614f658b6daaaa480fb.tar.gz kernel-qcow2-linux-422d2cb8f9afadba1ecd3614f658b6daaaa480fb.tar.xz kernel-qcow2-linux-422d2cb8f9afadba1ecd3614f658b6daaaa480fb.zip |
ceph: reset osd after relevant messages timed out
This simplifies the process of timing out messages. We
keep lru of current messages that are in flight. If a
timeout has passed, we reset the osd connection, so that
messages will be retransmitted. This is a failsafe in case
we hit some sort of problem sending out message to the OSD.
Normally, we'll get notification via an updated osdmap if
there are problems.
If a request is older than the keepalive timeout, send a
keepalive to ensure we detect any breaks in the TCP connection.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions