summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_state.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-03-29 15:20:27 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:45:06 +0100
commit706cb24c239bee5442c0b046abc7bf12f1aa0579 (patch)
treea54a81408c23a958be261edba5aa51c83346f345 /drivers/block/drbd/drbd_state.h
parentdrbd: Implemented IO thawing for multiple volumes (diff)
downloadlinux-706cb24c239bee5442c0b046abc7bf12f1aa0579.tar.xz
linux-706cb24c239bee5442c0b046abc7bf12f1aa0579.zip
drbd: Improved logging of state changes
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_state.h')
-rw-r--r--drivers/block/drbd/drbd_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_state.h b/drivers/block/drbd/drbd_state.h
index 757f9d93643f..a3c361bbc4b6 100644
--- a/drivers/block/drbd/drbd_state.h
+++ b/drivers/block/drbd/drbd_state.h
@@ -68,8 +68,9 @@ enum chg_state_flags {
CS_DC_CONN = 1 << 7,
CS_DC_DISK = 1 << 8,
CS_DC_PDSK = 1 << 9,
+ CS_DC_SUSP = 1 << 10,
CS_DC_MASK = CS_DC_ROLE + CS_DC_PEER + CS_DC_CONN + CS_DC_DISK + CS_DC_PDSK,
- CS_IGN_OUTD_FAIL = 1 << 10,
+ CS_IGN_OUTD_FAIL = 1 << 11,
};
/* drbd_dev_state and drbd_state are different types. This is to stress the