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
/
llite
/
llite_lib.c
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
824ea66
..
4d3508e
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-791,7
+791,7
@@
void ll_kill_super(struct super_block *sb)
/* wait running statahead threads to quit */
while (atomic_read(&sbi->ll_sa_running) > 0)
schedule_timeout_and_set_state(TASK_UNINTERRUPTIBLE,
-
HZ >> 3
);
+
msecs_to_jiffies(MSEC_PER_SEC >> 3)
);
}
EXIT;