aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2012-08-01 06:46:20 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-09 08:05:50 -0500
commiteb12010e9af119c84e6b2214064a98681027e0e3 (patch)
tree47fba4ebbf2a2a54137362b9d1e489a8cfcd3086 /include/linux/drbd.h
parent427c0434fc52f15bd762ddc6611e874df6cc5b8d (diff)
drbd: disambiguation, s/ERR_DISCARD/ERR_DISCARD_IMPOSSIBLE/
If for some reason (typically "split-brained" cluster manager) drbd replica data has diverged, we can chose a victim, and reconnect using "--discard-my-data", causing the victim to become sync-target, fetching all changed blocks from the peer. If we are Primary, we are potentially in use, and we refuse to "roll back" changes to the data below the page cache and other users. Rename the error symbol for this to ERR_DISCARD_IMPOSSIBLE. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index 5171c3530886..0b93e5e2e064 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -136,7 +136,7 @@ enum drbd_ret_code {
136 ERR_AUTH_ALG = 120, 136 ERR_AUTH_ALG = 120,
137 ERR_AUTH_ALG_ND = 121, 137 ERR_AUTH_ALG_ND = 121,
138 ERR_NOMEM = 122, 138 ERR_NOMEM = 122,
139 ERR_DISCARD = 123, 139 ERR_DISCARD_IMPOSSIBLE = 123,
140 ERR_DISK_CONFIGURED = 124, 140 ERR_DISK_CONFIGURED = 124,
141 ERR_NET_CONFIGURED = 125, 141 ERR_NET_CONFIGURED = 125,
142 ERR_MANDATORY_TAG = 126, 142 ERR_MANDATORY_TAG = 126,