linux/drivers/block/drbd
Philipp Reisner 9581f97a68 drbd: Fix state change in case of connection timeout
A connection timeout affects all volumes of a resource!
Under the following conditions:

 A resource with multiple volumes
  AND
 ko-count >=1
  AND
 a write request triggers the timeout (ko-count * timeout)

DRBD's internal state gets confused. That in turn may
lead to very miss leading follow up failures. E.g.
"BUG: scheduling while atomic"

CC: stable@kernel.org # v3.17
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>
2014-11-10 09:27:41 -07:00
..
drbd_actlog.c drbd: Minor cleanups 2014-11-10 09:27:30 -07:00
drbd_bitmap.c drbd: Use consistent names for all the bi_end_io callbacks 2014-09-11 08:41:29 -06:00
drbd_debugfs.c drbd: Remove superfluous newline from "resync_extents" debugfs entry. 2014-09-11 08:41:29 -06:00
drbd_debugfs.h drbd: debugfs: add basic hierarchy 2014-07-10 18:35:16 +02:00
drbd_int.h drbd: Only use drbd_msg_put_info() in drbd_nl.c 2014-11-10 09:27:33 -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: Only use drbd_msg_put_info() in drbd_nl.c 2014-11-10 09:27:33 -07:00
drbd_nl.c drbd: fix race between role change and handshake 2014-11-10 09:27:35 -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: Add missing newline in resync progress display in /proc/drbd 2014-09-11 08:41:29 -06:00
drbd_protocol.h drbd: Enable QUEUE_FLAG_DISCARD only if the peer can recieve P_TRIM 2014-04-30 13:46:55 -06:00
drbd_receiver.c drbd: fix resync throttling initialization 2014-11-10 09:27:37 -07:00
drbd_req.c drbd: Fix state change in case of connection timeout 2014-11-10 09:27:41 -07:00
drbd_req.h drbd: silence -Wmissing-prototypes warnings 2014-07-10 18:34:57 +02:00
drbd_state.c drbd: fix resync throttling initialization 2014-11-10 09:27:37 -07:00
drbd_state.h drbd: fix race between role change and handshake 2014-11-10 09:27:35 -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: fix resync throttling initialization 2014-11-10 09:27:37 -07:00
Kconfig
Makefile drbd: debugfs: add basic hierarchy 2014-07-10 18:35:16 +02:00