linux/drivers/block/drbd
Lars Ellenberg 79a30d2d71 drbd: queue bitmap writeout more intelligently
The "lazy writeout" of cleared bitmap pages happens during resync, and
should happen again once the resync finishes cleanly, or is aborted.

If resync finished cleanly, or was aborted because of peer disk
failure, we trigger the writeout from worker context in the after
state change work.

If resync was aborted because of connection failure, we should not
immediately trigger bitmap writeout, but rather postpone the
writeout to after the connection cleanup happened.  We now do it
in the receiver context from drbd_disconnect().

If resync was aborted because of local disk failure, well, there
is nothing to write to anymore.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-03-10 11:47:56 +01:00
..
drbd_actlog.c drbd: bitmap keep track of changes vs on-disk bitmap 2011-03-10 11:43:19 +01:00
drbd_bitmap.c drbd: fix potential access of on-stack wait_queue_head_t after return 2011-03-10 11:45:08 +01:00
drbd_int.h drbd: Work on the Ahead -> SyncSource transition 2011-03-10 11:45:36 +01:00
drbd_main.c drbd: queue bitmap writeout more intelligently 2011-03-10 11:47:56 +01:00
drbd_nl.c drbd: serialize admin requests for new resync with pending bitmap io 2011-03-10 11:47:53 +01:00
drbd_proc.c drbd: allow petabyte storage on 64bit arch 2011-03-10 11:43:24 +01:00
drbd_receiver.c drbd: queue bitmap writeout more intelligently 2011-03-10 11:47:56 +01:00
drbd_req.c drbd: Ensure that an epoch contains only requests of one kind 2011-03-10 11:45:42 +01:00
drbd_req.h drbd: Ensure that an epoch contains only requests of one kind 2011-03-10 11:45:42 +01:00
drbd_strings.c drbd: Rename enum drbd_state_ret_codes to enum drbd_state_rv 2011-03-10 11:36:18 +01:00
drbd_vli.h The DRBD driver 2009-10-01 21:17:49 +02:00
drbd_worker.c drbd: only generate and send a new sync uuid after a successful state change 2011-03-10 11:47:52 +01:00
drbd_wrappers.h drbd: Get rid of unnecessary macros (2) 2011-03-10 11:36:15 +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