linux/drivers/block/drbd
Lars Ellenberg 5bded4effb drbd: don't block forever in disconnect during resync if fencing=r-a-stonith
Disconnect should wait for pending bitmap IO.
But if that bitmap IO is not happening, because it is waiting for
pending application IO, and there is no progress, because the fencing
policy suspended application IO because of the disconnect,
then we deadlock.

The bitmap writeout in this case does not care for concurrent
application IO, so there is no point waiting for it.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-11-25 09:22:02 -07:00
..
drbd_actlog.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
drbd_bitmap.c drbd: use bitmap_weight() helper, don't open code 2015-11-25 09:22:02 -07:00
drbd_debugfs.c drbd: debugfs: expose ed_data_gen_id 2015-11-25 09:22:02 -07:00
drbd_debugfs.h drbd: debugfs: add basic hierarchy 2014-07-10 18:35:16 +02:00
drbd_int.h drbd: make drbd known to lsblk: use bd_link_disk_holder 2015-11-25 09:22:02 -07:00
drbd_interval.c drbd: use RB_DECLARE_CALLBACKS() to define augment callbacks 2014-09-18 09:00:17 -06:00
drbd_interval.h drbd: application writes may set-in-sync in protocol != C 2014-07-10 18:35:02 +02:00
drbd_main.c drbd: don't block forever in disconnect during resync if fencing=r-a-stonith 2015-11-25 09:22:02 -07:00
drbd_nl.c drbd: make drbd known to lsblk: use bd_link_disk_holder 2015-11-25 09:22:02 -07:00
drbd_nla.c drbd: Remove drbd_wrappers.h 2014-04-30 13:46:54 -06:00
drbd_nla.h
drbd_proc.c drbd: Move enum write_ordering_e to drbd.h 2015-11-25 09:22:00 -07:00
drbd_protocol.h drbd: Create a dedicated workqueue for sending acks on the control connection 2015-11-25 09:22:01 -07:00
drbd_receiver.c drbd: use resource name in workqueue 2015-11-25 09:22:02 -07:00
drbd_req.c drbd: Create a dedicated workqueue for sending acks on the control connection 2015-11-25 09:22:01 -07:00
drbd_req.h drbd: De-inline drbd_should_do_remote() and drbd_should_send_out_of_sync() 2015-11-25 09:22:00 -07:00
drbd_state_change.h drbd: Backport the "events2" command 2015-11-25 09:22:00 -07:00
drbd_state.c drbd: fix NULL deref in remember_new_state 2015-11-25 09:22:01 -07:00
drbd_state.h drbd: Fix locking across all resources 2015-11-25 09:22:00 -07:00
drbd_strings.c drbd: Move string function prototypes from linux/drbd.h to drbd_string.h 2014-02-17 16:50:37 +01:00
drbd_strings.h drbd: Move string function prototypes from linux/drbd.h to drbd_string.h 2014-02-17 16:50:37 +01:00
drbd_vli.h
drbd_worker.c drbd: make drbd known to lsblk: use bd_link_disk_holder 2015-11-25 09:22:02 -07:00
Kconfig
Makefile drbd: debugfs: add basic hierarchy 2014-07-10 18:35:16 +02:00