diff options
author | 2010-03-03 02:08:22 +0100 | |
---|---|---|
committer | 2010-03-11 16:01:38 +0100 | |
commit | 676396d545350a70d922605ec23c2ed26124334a (patch) | |
tree | c8e97f6955bdb4719761593f2575de88210a5a15 /lib/bitmap.c | |
parent | drbd: fix broken state change after split-brain attach while connected (diff) | |
download | linux-dev-676396d545350a70d922605ec23c2ed26124334a.tar.xz linux-dev-676396d545350a70d922605ec23c2ed26124334a.zip |
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>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions