drbd: improve online-verify progress tracking
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 5 Nov 2010 08:39:06 +0000 (09:39 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:18:51 +0000 (11:18 +0100)
commit30b743a2d532af39c9ed13c85d5473f6f620f6c8
tree9c995b292e463320003aa8d4a3a502ddc3a09d00
parent26525618863afcc4aab8b2a83451d37c6f513460
drbd: improve online-verify progress tracking

For a partial (resumed) online-verify, initialize rs_total not to total
bits, but to number of bits to check in this run, to match the meaning
rs_total has for actual resync.

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