aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSahitya Tummala <[email protected]>2021-04-06 14:39:16 +0530
committerJaegeuk Kim <[email protected]>2021-04-06 07:18:31 -0700
commitc35b8d5e757e0fd0144890b7b536f7b756f3a648 (patch)
tree9b7a950e86129243c01993afc4b17aa6adf55e30 /tools/perf/scripts/python/exported-sql-viewer.py
parent25ae837e61dee712b4b1df36602ebfe724b2a0b6 (diff)
f2fs: fix the periodic wakeups of discard thread
Fix the unnecessary periodic wakeups of discard thread that happens under below two conditions - 1. When f2fs is heavily utilized over 80%, the current discard policy sets the max sleep timeout of discard thread as 50ms (DEF_MIN_DISCARD_ISSUE_TIME). But this is set even when there are no pending discard commands to be issued. 2. In the issue_discard_thread() path when there are no pending discard commands, it fails to reset the wait_ms to max timeout value. Signed-off-by: Sahitya Tummala <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions