aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDongdong Zhang <[email protected]>2022-10-25 17:40:36 +0800
committerJaegeuk Kim <[email protected]>2022-11-01 17:56:02 -0700
commitb5f1a218ae5e4339130d6e733f0e63d623e09a2c (patch)
tree3b0e72ad74d5c3b10807cf2b144ebc53bdcaf9cf /tools/perf/scripts/python/export-to-sqlite.py
parent44b9d01f2ee32884a7de270394b0fb7f75f87dba (diff)
f2fs: fix normal discard process
In the DPOLICY_BG mode, there is a conflict between the two conditions "i + 1 < dpolicy->granularity" and "i < DEFAULT_DISCARD_GRANULARITY". If i = 15, the first condition is false, it will enter the second condition and dispatch all small granularity discards in function __issue_discard_cmd_orderly. The restrictive effect of the first condition to small discards will be invalidated. These two conditions should align. Fixes: 20ee4382322c ("f2fs: issue small discard by LBA order") Signed-off-by: Dongdong Zhang <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions