From: Philipp Reisner Date: Wed, 27 Mar 2013 13:08:36 +0000 (+0100) Subject: drbd: move invalidating the whole bitmap out of after_state ch() X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~10^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9376d9f8b97f20df5d30c83713652c3118b31534;p=pandora-kernel.git drbd: move invalidating the whole bitmap out of after_state ch() To avoid other state change requests, after passing through sanitize_state(), to be mistaken for an invalidate, move the "set all bits as out-of-sync" into the invalidate path. Make invalidate and invalidate-remote behave consistently wrt. current connection state (need either an established replication link, or really be disconnected). Also mention that in the documentation. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed