From: Sage Weil Date: Fri, 4 Mar 2011 20:24:28 +0000 (-0800) Subject: libceph: fix msgr backoff X-Git-Tag: v2.6.38-rc8~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60bf8bf8815e6adea4c1d0423578c3b8000e2ec8;p=pandora-kernel.git libceph: fix msgr backoff With commit f363e45f we replaced a bunch of hacky workqueue mutual exclusion logic with the WQ_NON_REENTRANT flag. One pieces of fallout is that the exponential backoff breaks in certain cases: * con_work attempts to connect. * we get an immediate failure, and the socket state change handler queues immediate work. * con_work calls con_fault, we decide to back off, but can't queue delayed work. In this case, we add a BACKOFF bit to make con_work reschedule delayed work next time it runs (which should be immediately). Signed-off-by: Sage Weil --- Reading git-diff-tree failed