diff options
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index 2bf3a6ef3684..1aae724e37fb 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -443,13 +443,18 @@ struct p_rs_param_89 { | |||
443 | char csums_alg[SHARED_SECRET_MAX]; | 443 | char csums_alg[SHARED_SECRET_MAX]; |
444 | } __packed; | 444 | } __packed; |
445 | 445 | ||
446 | enum drbd_conn_flags { | ||
447 | CF_WANT_LOSE = 1, | ||
448 | CF_DRY_RUN = 2, | ||
449 | }; | ||
450 | |||
446 | struct p_protocol { | 451 | struct p_protocol { |
447 | struct p_header head; | 452 | struct p_header head; |
448 | u32 protocol; | 453 | u32 protocol; |
449 | u32 after_sb_0p; | 454 | u32 after_sb_0p; |
450 | u32 after_sb_1p; | 455 | u32 after_sb_1p; |
451 | u32 after_sb_2p; | 456 | u32 after_sb_2p; |
452 | u32 want_lose; | 457 | u32 conn_flags; |
453 | u32 two_primaries; | 458 | u32 two_primaries; |
454 | 459 | ||
455 | /* Since protocol version 87 and higher. */ | 460 | /* Since protocol version 87 and higher. */ |
@@ -791,6 +796,7 @@ enum { | |||
791 | * while this is set. */ | 796 | * while this is set. */ |
792 | RESIZE_PENDING, /* Size change detected locally, waiting for the response from | 797 | RESIZE_PENDING, /* Size change detected locally, waiting for the response from |
793 | * the peer, if it changed there as well. */ | 798 | * the peer, if it changed there as well. */ |
799 | CONN_DRY_RUN, /* Expect disconnect after resync handshake. */ | ||
794 | }; | 800 | }; |
795 | 801 | ||
796 | struct drbd_bitmap; /* opaque for drbd_conf */ | 802 | struct drbd_bitmap; /* opaque for drbd_conf */ |