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:
99db311
)
- Don't wake up the pinger, if it's not enabled
author
rread
<rread>
Fri, 14 Nov 2003 23:55:42 +0000
(23:55 +0000)
committer
rread
<rread>
Fri, 14 Nov 2003 23:55:42 +0000
(23:55 +0000)
lustre/ptlrpc/pinger.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/pinger.c
b/lustre/ptlrpc/pinger.c
index
2815aaf
..
d18abeb
100644
(file)
--- a/
lustre/ptlrpc/pinger.c
+++ b/
lustre/ptlrpc/pinger.c
@@
-275,8
+275,10
@@
int ptlrpc_pinger_add_import(struct obd_import *imp)
list_add_tail(&imp->imp_pinger_chain, &pinger_imports);
class_import_get(imp);
+#ifdef ENABLE_PINGER
pinger_thread->t_flags |= SVC_EVENT;
wake_up(&pinger_thread->t_ctl_waitq);
+#endif
up(&pinger_sem);
RETURN(0);