From: Yehuda Sadeh Date: Fri, 26 Feb 2010 23:32:31 +0000 (-0800) Subject: ceph: reset osd after relevant messages timed out X-Git-Tag: v2.6.34-rc2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422d2cb8f9afadba1ecd3614f658b6daaaa480fb;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed