drbd: Write all pages of the bitmap after an online resize
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 14 Aug 2012 09:46:59 +0000 (11:46 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 9 Nov 2012 13:05:51 +0000 (14:05 +0100)
commitfef45d297e447d710abcf0cd0bdbf8738ff469eb
treed4200c3cb2b5168d33566d6f9bf48da36d91f231
parent5af2e8ce2b463c2cc8e4a074f9d8f660ae7c1d8f
drbd: Write all pages of the bitmap after an online resize

We need to write the whole bitmap after we moved the meta data
due to an online resize operation.

With the support for one peta byte devices bitmap IO was optimized
to only write out touched pages. This optimization must be turned
off when writing the bitmap after an online resize.

This issue was introduced with drbd-8.3.10.

The impact of this bug is that after an online resize, the next
resync could become larger than expected.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_bitmap.c
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_nl.c
This page took 0.025412 seconds and 5 git commands to generate.