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:
68c2d5c
)
Branch b1_4
author
adilger
<adilger>
Wed, 11 May 2005 22:04:03 +0000
(22:04 +0000)
committer
adilger
<adilger>
Wed, 11 May 2005 22:04:03 +0000
(22:04 +0000)
Ensure the PING_INTERVAL is at least 1s, otherwise obd_timeout < 4 can
cause severe heartburn.
lustre/include/linux/obd_support.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/obd_support.h
b/lustre/include/linux/obd_support.h
index
9bb7058
..
afb43ac
100644
(file)
--- a/
lustre/include/linux/obd_support.h
+++ b/
lustre/include/linux/obd_support.h
@@
-38,7
+38,7
@@
extern int obd_memmax;
extern unsigned int obd_fail_loc;
extern unsigned int obd_dump_on_timeout;
extern unsigned int obd_timeout; /* seconds */
-#define PING_INTERVAL
(obd_timeout / 4
)
+#define PING_INTERVAL
max(obd_timeout / 4, 1U
)
extern unsigned int ldlm_timeout;
extern char obd_lustre_upcall[128];
extern unsigned int obd_sync_filter;