drbd: account bitmap IO during resync as resync-(related-)-io
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 14 Jun 2011 12:18:23 +0000 (14:18 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 30 Jun 2011 07:23:43 +0000 (09:23 +0200)
commit5a8b424276f7ba50c51e7caf485b2be23739e5b8
tree001a7250e631db20a5bc3d9fd667dc8a817d9c1f
parent8ccee20e3ef4e12dbf02a18f17d386569b1f73ee
drbd: account bitmap IO during resync as resync-(related-)-io

If we have a good resync rate, we will frequently update the on-disk
bitmap, which, if not accounted for as resync io, may let an otherwise
idle device appear to be "busy", and cause us to throttle resync.

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