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:
415998b
)
- take HZ into account
author
alex
<alex>
Sun, 22 May 2005 12:10:37 +0000
(12:10 +0000)
committer
alex
<alex>
Sun, 22 May 2005 12:10:37 +0000
(12:10 +0000)
lustre/ptlrpc/pinger.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/pinger.c
b/lustre/ptlrpc/pinger.c
index
68912f7
..
d866933
100644
(file)
--- a/
lustre/ptlrpc/pinger.c
+++ b/
lustre/ptlrpc/pinger.c
@@
-132,7
+132,7
@@
static void ptlrpc_pinger_process_import(struct obd_import *imp,
imp->imp_force_verify = 0;
spin_unlock_irqrestore(&imp->imp_lock, flags);
- if (imp->imp_next_ping - this_ping > obd_timeout) {
+ if (imp->imp_next_ping - this_ping > obd_timeout
* HZ
) {
CWARN("wrong ping time %lu (current %lu)\n",
imp->imp_next_ping, this_ping);
imp->imp_next_ping = ptlrpc_next_reconnect(imp);