linux/drivers/block/drbd
Lars Ellenberg e636db5b95 drbd: fix potential imbalance of ap_in_flight
When we receive a barrier ack, we walk the ring list of drbd requests
in the transfer log of the respective epoch, do some housekeeping,
and free those objects.

We tried to keep epochs of mirrored and unmirrored drbd requests
separate, and assert that no local-only requests are present in a
barrier_acked epoch.

It turns out that this has quite a number of corner cases and would
add bloated code without functional benefit.

We now revert the (insufficient) commits
 drbd: Fixed an issue with AHEAD -> SYNC_SOURCE transitions
 drbd: Ensure that an epoch contains only requests of one kind
and instead fix the processing of barrier acks to cope with
a mix of local-only and mirrored requests.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-03-10 11:48:06 +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: describe bitmap locking for bulk operation in finer detail 2011-03-10 11:48:02 +01:00
drbd_int.h drbd: describe bitmap locking for bulk operation in finer detail 2011-03-10 11:48:02 +01:00
drbd_main.c drbd: fix potential imbalance of ap_in_flight 2011-03-10 11:48:06 +01:00
drbd_nl.c drbd: describe bitmap locking for bulk operation in finer detail 2011-03-10 11:48:02 +01:00
drbd_proc.c drbd: allow petabyte storage on 64bit arch 2011-03-10 11:43:24 +01:00
drbd_receiver.c drbd: silence some noisy log messages during disconnect 2011-03-10 11:48:04 +01:00
drbd_req.c drbd: fix potential imbalance of ap_in_flight 2011-03-10 11:48:06 +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
drbd_worker.c drbd: log UUIDs whenever they change 2011-03-10 11:48:01 +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