From: Sage Weil Date: Mon, 15 Feb 2010 20:05:09 +0000 (-0800) Subject: ceph: cancel delayed work when closing connection X-Git-Tag: v2.6.34-rc2~9^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e45ce38946a8efa21fefbc65d023ca3c0b434f;p=pandora-kernel.git ceph: cancel delayed work when closing connection This ensures that if/when we reopen the connection, we can requeue work on the connection immediately, without waiting for an old timer to expire. Queue new delayed work inside con->mutex to avoid any race. This fixes problems with clients failing to reconnect to the MDS due to the client_reconnect message arriving too late (due to waiting for an old delayed work timeout to expire). Signed-off-by: Sage Weil --- Reading git-diff-tree failed