summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2018-05-24 13:57:26 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-30 11:39:45 -0700
commitbb53d06b5f21161295e6dea0eda941351cc9d3a1 (patch)
treea9028df1fe14fd59edd7ce4d14e54162800ed757 /tools/perf/scripts/python
parent520a9486182437847212c8e226d042b1e14b7cc2 (diff)
f2fs: let fstrim issue discard commands in lower priority
The fstrim gathers huge number of large discard commands, and tries to issue without IO awareness, which results in long user-perceive IO latencies on READ, WRITE, and FLUSH in UFS. We've observed some of commands take several seconds due to long discard latency. This patch limits the maximum size to 2MB per candidate, and check IO congestion when issuing them to disk. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions