]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: bitmap keep track of changes vs on-disk bitmap
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 15 Dec 2010 07:59:11 +0000 (08:59 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:43:19 +0000 (11:43 +0100)
commit19f843aa08e2d8f87a09b4c2edc43b00638423a8
tree49919bd17ba7e03eb7cb76175910714d55704997
parent95a0f10cddbf93ce89c175ac1c53dad2d20ad309
drbd: bitmap keep track of changes vs on-disk bitmap

When we set or clear bits in a bitmap page,
also set a flag in the page->private pointer.

This allows us to skip writes of unchanged pages.

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