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
Introduce .gitignore files.
[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
4ae355c
..
3eec677
100644
(file)
--- a/
lnet/include/lnet/lib-types.h
+++ b/
lnet/include/lnet/lib-types.h
@@
-451,6
+451,8
@@
typedef struct lnet_peer {
lnet_rc_data_t *lp_rcd; /* router checker state */
} lnet_peer_t;
+#define lnet_peer_aliveness_enabled(lp) ((lp)->lp_ni->ni_peertimeout > 0)
+
typedef struct {
struct list_head lr_list; /* chain on net */
lnet_peer_t *lr_gateway; /* router node */