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
LU-9019 libcfs: avoid using HZ and msecs_to_jiffies()
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_lib.c
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
6faf0b8
..
0a29250
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-2144,7
+2144,7
@@
repeat:
while (wait_event_timeout(obd->obd_next_transno_waitq,
check_routine(lut),
-
msecs_to_jiffies(60 * MSEC_PER_SEC
)) == 0)
+
cfs_time_seconds(60
)) == 0)
; /* wait indefinitely for event, but don't trigger watchdog */
if (obd->obd_abort_recovery) {