Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13569 lnet: Recover local NI w/exponential backoff interval
[fs/lustre-release.git]
/
lnet
/
include
/
lnet
/
lib-types.h
diff --git
a/lnet/include/lnet/lib-types.h
b/lnet/include/lnet/lib-types.h
index
3b1e46f
..
51afa78
100644
(file)
--- a/
lnet/include/lnet/lib-types.h
+++ b/
lnet/include/lnet/lib-types.h
@@
-473,6
+473,13
@@
struct lnet_ni {
/* Recovery state. Protected by lnet_ni_lock() */
__u32 ni_recovery_state;
/* Recovery state. Protected by lnet_ni_lock() */
__u32 ni_recovery_state;
+ /* When to send the next recovery ping */
+ time64_t ni_next_ping;
+ /* How many pings sent during current recovery period did not receive
+ * a reply. NB: reset whenever _any_ message arrives on this NI
+ */
+ unsigned int ni_ping_count;
+
/* per NI LND tunables */
struct lnet_lnd_tunables ni_lnd_tunables;
/* per NI LND tunables */
struct lnet_lnd_tunables ni_lnd_tunables;