diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-27 06:21:30 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:34:46 -0500 |
commit | 67531718d8f1259f01ab84c2aa25f7b03c7afd46 (patch) | |
tree | 6f76323440f8ce3793b5d5f1a19808207f38db5b /include | |
parent | 422028b1ca4c07995af82a18abced022ff4c296c (diff) |
drbd: Implemented two new connection states Ahead/Behind
In this connection mode, the ahead node no longer replicates
application IO. The behind's disk becomes out dated.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/drbd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h index 03a08baabf11..23f31be6f00d 100644 --- a/include/linux/drbd.h +++ b/include/linux/drbd.h | |||
@@ -206,6 +206,10 @@ enum drbd_conns { | |||
206 | C_VERIFY_T, | 206 | C_VERIFY_T, |
207 | C_PAUSED_SYNC_S, | 207 | C_PAUSED_SYNC_S, |
208 | C_PAUSED_SYNC_T, | 208 | C_PAUSED_SYNC_T, |
209 | |||
210 | C_AHEAD, | ||
211 | C_BEHIND, | ||
212 | |||
209 | C_MASK = 31 | 213 | C_MASK = 31 |
210 | }; | 214 | }; |
211 | 215 | ||