From: Lars Ellenberg Date: Fri, 20 Dec 2013 10:39:48 +0000 (+0100) Subject: drbd: get rid of atomic update on disk bitmap works X-Git-Tag: omap-for-v3.17/fixes-against-rc2~74^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a58db4e9dc523b18bbfbc3aa311d8308acc293;p=pandora-kernel.git drbd: get rid of atomic update on disk bitmap works Just trigger the occasional lazy bitmap write-out during resync from the central wait_for_work() helper. Previously, during resync, bitmap pages would be written out separately, synchronously, one at a time, at least 8 times each (every 512 bytes worth of bitmap cleared). Now we trigger "merge friendly" bulk write out of all cleared pages every two seconds during resync, and once the resync is finished. Most pages will be written out only once. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed