From: Philipp Reisner Date: Tue, 28 Aug 2012 14:48:03 +0000 (+0200) Subject: drbd: Call drbd_md_sync() explicitly after a state change on the connection X-Git-Tag: v3.8-rc1~78^2~18^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19fffd7b0303e8843aa2decfd43fa57c9d511409;p=pandora-kernel.git drbd: Call drbd_md_sync() explicitly after a state change on the connection Without this, the meta-data gets updates after 5 seconds by the md_sync_timer. Better to do it immeditaly after a state change. If the asender detects a network failure, it may take a bit until the worker processes the according after-conn-state-change work item. The worker might be blocked in sending something, i.e. it takes until it gets into its timeout. That is 6 seconds by default which is longer than the 5 seconds of the md_sync_timer. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed