drbd: improve on bitmap write out timing
authorLars Ellenberg <lars.ellenberg@linbit.com>
Sat, 18 Dec 2010 16:00:59 +0000 (17:00 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:43:40 +0000 (11:43 +0100)
commit06d33e968d2c58143a7aaafa8963cf6a58099467
tree4380d4060178a44ea0e4d56a47d1fff1a43e7b86
parent418e0a927d520f9c8e875ea75abee35d93a0f1b3
drbd: improve on bitmap write out timing

Even though we now track the need for bitmap writeout per bitmap page,
there is no need to trigger the writeout while a resync is going on.

Once the resync is finished (or aborted),
we trigger bitmap writeout anyways.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_main.c