projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drbd: Implemented two new connection states Ahead/Behind
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
block
/
drbd
/
drbd_int.h
diff --git
a/drivers/block/drbd/drbd_int.h
b/drivers/block/drbd/drbd_int.h
index c804e44b9455bf908c0900404d3e362f3af6b4f0..21b7439438cd79bd111a345cdf44f2937cecc6d3 100644
(file)
--- a/
drivers/block/drbd/drbd_int.h
+++ b/
drivers/block/drbd/drbd_int.h
@@
-2217,6
+2217,8
@@
static inline int drbd_state_is_stable(union drbd_state s)
case C_VERIFY_T:
case C_PAUSED_SYNC_S:
case C_PAUSED_SYNC_T:
+ case C_AHEAD:
+ case C_BEHIND:
/* maybe stable, look at the disk state */
break;