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-5443 lustre: replace direct HZ access with kernel APIs
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_internal.h
diff --git
a/lustre/ofd/ofd_internal.h
b/lustre/ofd/ofd_internal.h
index
e41dde8
..
92894cb
100644
(file)
--- a/
lustre/ofd/ofd_internal.h
+++ b/
lustre/ofd/ofd_internal.h
@@
-66,7
+66,7
@@
struct ofd_mod_data {
};
#define OFD_FMD_MAX_NUM_DEFAULT 128
-#define OFD_FMD_MAX_AGE_DEFAULT
((obd_timeout + 10) * HZ
)
+#define OFD_FMD_MAX_AGE_DEFAULT
msecs_to_jiffies((obd_timeout+10)*MSEC_PER_SEC
)
#define OFD_SOFT_SYNC_LIMIT_DEFAULT 16