From: Alex Elder Date: Tue, 19 Feb 2013 18:25:57 +0000 (-0600) Subject: libceph: encapsulate connection backoff X-Git-Tag: v3.9-rc1~41^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20a39fd6e6356b4cf3c1650c4dc6c66c99d8bae;p=pandora-kernel.git libceph: encapsulate connection backoff Collect the code that tests for and implements a backoff delay for a ceph connection into a new function, ceph_backoff(). Make the debug output messages in that part of the code report things consistently by reporting a message in the socket closed case, and by making the one for PREOPEN state report the connection pointer like the rest. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed