diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-05-16 14:30:24 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:55:52 +0100 |
commit | dcb20d1a8e7d9602e52a9b673ae4d7f746d2cbb2 (patch) | |
tree | 34e9330fab46adf21f9ddf02b8cbea4b2050dbde /include/linux/drbd.h | |
parent | c5482bbd9607bf38cbc952eacaa429e6ba3160a0 (diff) | |
download | linux-stable-dcb20d1a8e7d9602e52a9b673ae4d7f746d2cbb2.tar.gz linux-stable-dcb20d1a8e7d9602e52a9b673ae4d7f746d2cbb2.tar.bz2 linux-stable-dcb20d1a8e7d9602e52a9b673ae4d7f746d2cbb2.zip |
drbd: Refuse to change network options online when...
* the peer does not speak protocol_version 100 and the
user wants to change one of:
- wire_protocol
- two_primaries
- integrity_alg
* the user wants to remove the allow_two_primaries flag
when there are two primaries
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd.h')
-rw-r--r-- | include/linux/drbd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h index 05063e6db81f..679e81123229 100644 --- a/include/linux/drbd.h +++ b/include/linux/drbd.h @@ -161,6 +161,7 @@ enum drbd_ret_code { ERR_MINOR_EXISTS = 161, ERR_INVALID_REQUEST = 162, ERR_NEED_APV_100 = 163, + ERR_NEED_ALLOW_TWO_PRI = 164, /* insert new ones above this line */ AFTER_LAST_ERR_CODE |