drbd: allow to select specific bitmap pages for writeout
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 21 Feb 2011 12:21:00 +0000 (13:21 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:47:44 +0000 (16:47 +0200)
commit45dfffebd08c1445493bfa8f0ec05b38714b9b2d
treec3a2b91a84f58c048350007fb684d1ebdac4ee0e
parenta9efc748d679efb39fe7a8a536dde94cee691604
drbd: allow to select specific bitmap pages for writeout

We are about to allow several changes to the active set in one activity
log transaction. We have to write out the corresponding bitmap pages as
well, if changed.

Introduce drbd_bm_mark_for_writeout(), then re-use the existing bitmap
writeout path to submit all marked pages in one go.

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