From: Lars Ellenberg Date: Fri, 20 Dec 2013 10:17:02 +0000 (+0100) Subject: drbd: allow write-ordering policy to be bumped up again X-Git-Tag: omap-for-v3.17/fixes-against-rc2~74^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70df70927b75eb86f12b14167c398b99dc3a56e4;p=pandora-kernel.git drbd: allow write-ordering policy to be bumped up again Previously, once you disabled flushes as a means of enforcing write-ordering, you'd need to detach/re-attach to enable them again. Allow drbdsetup disk-options to re-enable previously disabled write-ordering policy options at runtime. While at it fix RCU in drbd_bump_write_ordering() max_allowed_wo() uses rcu_dereference, therefore it must be called within rcu_read_lock()/rcu_read_unlock() Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed