linux-stable/drivers/block/drbd
Lars Ellenberg 676396d545 fix unit of rs_same_csums accounting
Depending on resync request size,
we need to account for more than one bit.

Impact: cosmetic

If SyncTarget reported correctly 100% equal checksums,
the SyncSource usually reported 12% equal checksums instead,
because it only counted requests, we typically do 32k resync requests,
and the bitmap granularity is still 4k.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2010-03-11 16:01:38 +01:00
..
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00
drbd_actlog.c drbd: remove tracing bits 2009-10-01 21:17:58 +02:00
drbd_bitmap.c block: drbd: Convert semaphore to mutex 2010-03-11 13:30:16 +01:00
drbd_int.h drbd: --dry-run option for drbdsetup net ( drbdadm -- --dry-run connect <res> ) 2010-03-11 15:51:23 +01:00
drbd_main.c drbd: --dry-run option for drbdsetup net ( drbdadm -- --dry-run connect <res> ) 2010-03-11 15:51:23 +01:00
drbd_nl.c drbd: fix NULL pointer dereference on 4k hard sect size 2010-03-11 15:58:25 +01:00
drbd_proc.c drbd: Constify struct file_operations 2009-12-21 12:45:15 +01:00
drbd_receiver.c drbd: fix broken state change after split-brain attach while connected 2010-03-11 16:00:09 +01:00
drbd_req.c drbd_req.c: use part_[inc|dec]_in_flight() 2009-12-03 17:40:51 +01:00
drbd_req.h dropping unneeded include autoconf.h 2009-10-01 21:17:54 +02:00
drbd_strings.c
drbd_vli.h
drbd_worker.c fix unit of rs_same_csums accounting 2010-03-11 16:01:38 +01:00
drbd_wrappers.h