2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 01:24:08 +08:00
linux-next/drivers/block/drbd
Lars Ellenberg a220d29180 drbd: allow bitmap to change during writeout from resync_finished
Symptom: messages similar to
 "FIXME asender in bm_change_bits_to,
  bitmap locked for 'write from resync_finished' by worker"

If a resync or verify is finished (or aborted), a full bitmap writeout
is triggered.  If we have ongoing local IO, the bitmap may still change
during that writeout, pending and not yet processed acks may cause bits
to be cleared, while new writes may cause bits to be to be set.

To fix this, introduce the drbd_bm_write_copy_pages() variant.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-11-08 16:58:28 +01:00
..
drbd_actlog.c drbd: missing wakeup after drbd_rs_del_all 2012-11-08 16:58:19 +01:00
drbd_bitmap.c drbd: allow bitmap to change during writeout from resync_finished 2012-11-08 16:58:28 +01:00
drbd_int.h drbd: allow bitmap to change during writeout from resync_finished 2012-11-08 16:58:28 +01:00
drbd_interval.c drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_interval.h drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_main.c drbd: ignore volume number for drbd barrier packet exchange 2012-11-08 16:58:25 +01:00
drbd_nl.c drbd: fix race between drbdadm invalidate/verify and finishing resync 2012-11-08 16:58:27 +01:00
drbd_nla.c drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_nla.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_proc.c drbd: Move list of epochs from mdev to tconn 2012-11-08 16:58:08 +01:00
drbd_receiver.c drbd: fix spelling, remove boring development log message 2012-11-08 16:58:27 +01:00
drbd_req.c drbd: fix resend/resubmit of frozen IO 2012-11-08 16:58:27 +01:00
drbd_req.h drbd: fix potential deadlock during "restart" of conflicting writes 2012-11-08 16:58:21 +01:00
drbd_state.c drbd: allow bitmap to change during writeout from resync_finished 2012-11-08 16:58:28 +01:00
drbd_state.h drbd: Improved logging of state changes 2012-11-08 16:45:06 +01:00
drbd_strings.c drbd: Allow volumes to become primary only on one side 2012-11-04 00:16:31 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: simplify retry path of failed READ requests 2012-11-08 16:58:24 +01:00
drbd_wrappers.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00