From: Lars Ellenberg Date: Mon, 28 Apr 2014 16:43:22 +0000 (+0200) Subject: drbd: allow parallel promote/demote actions X-Git-Tag: omap-for-v3.17/soc-cleanup~42^2~7^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e276872fe1665ea158f0c6f40df13008fed2908;p=pandora-kernel.git drbd: allow parallel promote/demote actions We plan to use genl_family->parallel_ops = true in the future, but need to review all possible interactions first. For now, only selectively drop genl_lock() in drbd_set_role(), instead serializing on our own internal resource->conf_update mutex. We now can be promoted/demoted on many resources in parallel, which may significantly improve cluster failover times when fencing is required. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed