From: Lars Ellenberg Date: Thu, 27 May 2010 07:45:45 +0000 (+0200) Subject: drbd: fix hang on local read errors while disconnected X-Git-Tag: v2.6.35-rc2~12^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d255e5ff5fc6cc6c60dd014d1261448a7bbc8134;p=pandora-kernel.git drbd: fix hang on local read errors while disconnected "canceled" w_read_retry_remote never completed, if they have been canceled after drbd_disconnect connection teardown cleanup has already run (or we are currently not connected anyways). Fixed by not queueing a remote retry if we already know it won't work (pdsk not uptodate), and cleanup ourselves on "cancel", in case we hit a race with drbd_disconnect. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed