linux/drivers/block/drbd
Philipp Reisner 4d0fc3fdc3 drbd: Fixed compat issue with disconnecting 8.4 from a primary 8.3
For compatibility reasons 8.4 has to send P_STATE_CHG_REQ (instead
of P_CONN_ST_CHG_REQ) when disconnecting.

In the receiving code path we missed to convert the old
answer (P_STATE_CHG_REPLY) back to 8.4 logic. Therefore
the CL_ST_CHG_SUCCESS or CL_ST_CHG_FAIL bit in the flags word
of mdev got set, while the state code was waiting for
the CONN_WD_ST_CHG_OKAY or CONN_WD_ST_CHG_FAIL bits in tconn.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-11-08 16:58:14 +01:00
..
drbd_actlog.c drbd: fix potential spinlock deadlock 2012-11-08 16:58:09 +01:00
drbd_bitmap.c drbd: drbd_bm_ALe_set_all(): Remove unused function 2012-11-08 16:58:14 +01:00
drbd_int.h drbd: Fixed compat issue with disconnecting 8.4 from a primary 8.3 2012-11-08 16:58:14 +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: Move list of epochs from mdev to tconn 2012-11-08 16:58:08 +01:00
drbd_nl.c drbd: Move write_ordering from mdev to tconn 2012-11-08 16:58:07 +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: Fixed compat issue with disconnecting 8.4 from a primary 8.3 2012-11-08 16:58:14 +01:00
drbd_req.c drbd: restart loop in drbd_make_request() [prepare for Linux-3.2] 2012-11-08 16:58:13 +01:00
drbd_req.h drbd: Get rid of MR_{READ,WRITE}_SHIFT 2012-11-08 16:58:00 +01:00
drbd_state.c drbd: Fixed compat issue with disconnecting 8.4 from a primary 8.3 2012-11-08 16:58:14 +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: Fixed an obvious copy-n-paste mistake 2012-11-08 16:58:06 +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