linux/drivers/block/drbd
Philipp Reisner fb22c402ff drbd: Track the reasons to suspend IO in dedicated state bits
There are three ways to get IO suspended:

 * Loss of any access to data
 * Fence-peer-handler running
 * User requested to suspend IO

Track those in different bits, so that one condition clearing its
state bit does not interfere with the other two conditions.

Only when the user resumes IO he overrules all three bits.

The fact is hidden from the user, he sees only a single suspend
bit.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2010-10-14 18:38:40 +02:00
..
drbd_actlog.c drbd: reduce code duplication when receiving data requests 2010-10-14 18:38:19 +02:00
drbd_bitmap.c drbd: Disable activity log updates when the whole device is out of sync 2010-10-14 18:38:26 +02:00
drbd_int.h drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_main.c drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_nl.c drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_proc.c drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_receiver.c drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_req.c drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_req.h drbd: Disable activity log updates when the whole device is out of sync 2010-10-14 18:38:26 +02:00
drbd_strings.c drbd: don't start a resync without access to up-to-date Data 2010-05-18 01:08:18 +02:00
drbd_vli.h
drbd_worker.c drbd: DIV_ROUND_UP not needed here 2010-10-14 18:38:39 +02:00
drbd_wrappers.h drbd: Allow drbd_epoch_entries to use multiple bios. 2010-05-18 02:01:23 +02: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