未验证 提交 de8dc77a 编写于 作者: X Xu Tian 提交者: GitHub

Merge pull request #1974 from xiangchunfu/blkio_throttle

cgroup: Fix blkio_throttle_read/write limitation's issues
......@@ -513,7 +513,7 @@ def run(test, params, env):
if (speeds[i][j] == 0):
output[-1][0] = "INF"
output[-1][3] = "(inf)"
elif distance(output[-1][4], speeds[i][j]) > limit:
elif output[-1][4] > speeds[i][j]:
err += "vm%d:%d, " % (i, j)
output[-1][0] = "FAIL"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册