Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7720f70
)
i=eeb
author
maxim
<maxim>
Tue, 18 Sep 2007 09:33:37 +0000
(09:33 +0000)
committer
maxim
<maxim>
Tue, 18 Sep 2007 09:33:37 +0000
(09:33 +0000)
- Minor bugfix on calculation of "last alive" time value.
lnet/klnds/socklnd/socklnd.c
patch
|
blob
|
history
diff --git
a/lnet/klnds/socklnd/socklnd.c
b/lnet/klnds/socklnd/socklnd.c
index
66410e9
..
3f7cb86
100644
(file)
--- a/
lnet/klnds/socklnd/socklnd.c
+++ b/
lnet/klnds/socklnd/socklnd.c
@@
-1464,9
+1464,7
@@
ksocknal_peer_failed (ksock_peer_t *peer)
peer->ksnp_accepting == 0 &&
ksocknal_find_connecting_route_locked(peer) == NULL) {
notify = 1;
- last_alive = cfs_time_current_sec() -
- cfs_duration_sec(cfs_time_current() -
- peer->ksnp_last_alive);
+ last_alive = cfs_time_seconds(peer->ksnp_last_alive);
}
read_unlock (&ksocknal_data.ksnd_global_lock);