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-15926 nrs: fix tbf realtime rules
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs_tbf.c
diff --git
a/lustre/ptlrpc/nrs_tbf.c
b/lustre/ptlrpc/nrs_tbf.c
index
50b983e
..
1c8d3b0
100644
(file)
--- a/
lustre/ptlrpc/nrs_tbf.c
+++ b/
lustre/ptlrpc/nrs_tbf.c
@@
-131,6
+131,7
@@
nrs_tbf_cli_reset_value(struct nrs_tbf_head *head,
cli->tc_rpc_rate = rule->tr_rpc_rate;
cli->tc_nsecs = rule->tr_nsecs_per_rpc;
+ cli->tc_nsecs_resid = 0;
cli->tc_depth = rule->tr_depth;
cli->tc_ntoken = rule->tr_depth;
cli->tc_check_time = ktime_to_ns(ktime_get());