1
0
Fork 0
alistair23-linux/drivers/block/drbd
Philipp Reisner c12a3d8c84 drbd: Fix a potential issue with the DISCARD_CONCURRENT flag
The DISCARD_CONCURRENT flag should be set on one node and cleared on the
other node.
As the code was before it was theoretical possible that a node accepts the
meta socket, but has to close it later on, and keeps the DISCARD_CONCURRENT
flag.
Correct this by moving the clear_bit(DISCARD_CONCURRENT) where the packet
gets sent.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-10-30 08:39:01 +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
drbd_actlog.c drbd: announce FLUSH/FUA capability to upper layers 2012-07-24 15:14:28 +02:00
drbd_bitmap.c drbd: Write all pages of the bitmap after an online resize 2012-08-16 17:17:35 +02:00
drbd_int.h drbd: introduce stop-sector to online verify 2012-10-30 08:39:01 +01:00
drbd_main.c drbd: introduce stop-sector to online verify 2012-10-30 08:39:01 +01:00
drbd_nl.c drbd: introduce stop-sector to online verify 2012-10-30 08:39:01 +01:00
drbd_proc.c drbd: introduce stop-sector to online verify 2012-10-30 08:39:01 +01:00
drbd_receiver.c drbd: Fix a potential issue with the DISCARD_CONCURRENT flag 2012-10-30 08:39:01 +01:00
drbd_req.c drbd: Finish requests that completed while IO was frozen 2012-08-16 17:14:45 +02:00
drbd_req.h drbd: Immediately allow completion of IOs, that wait for IO completions on a failed disk 2012-05-09 10:16:04 +02: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 Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: introduce stop-sector to online verify 2012-10-30 08:39:01 +01:00
drbd_wrappers.h drbd: Get rid of unnecessary macros (2) 2011-03-10 11:36:15 +01:00