Skip to content

backend: log trim @io_u to io_hist even do_verify=0#2105

Merged
axboe merged 1 commit into
axboe:masterfrom
minwooim:fix/trim-with-do-verify-0
Jun 11, 2026
Merged

backend: log trim @io_u to io_hist even do_verify=0#2105
axboe merged 1 commit into
axboe:masterfrom
minwooim:fix/trim-with-do-verify-0

Conversation

@minwooim

@minwooim minwooim commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

--do_verify=0 blocks TRIM command being issued even if --trim_percentage=<%> is given properly. fio generates a TRIM command based on the logged @io_u in io_hist based on the percentage value. If --do_verify=0, @io_u will never be logged into io_hist so that TRIM @io_u will never be generated. TRIM itself is usually useful when verify operations come together, but it should have been able to be issued regardless to the verify. This patch enabled WRITE @io_u logging to io_hist when --do_verify=0 case.

--do_verify=0 blocks TRIM command being issued even if
--trim_percentage=<%> is given properly.  fio generates a TRIM command
based on the logged @io_u in io_hist based on the percentage value.  If
--do_verify=0, @io_u will never be logged into io_hist so that TRIM
@io_u will never be generated.  TRIM itself is usually useful when
verify operations come together, but it should have been able to be
issued regardless to the verify.  This patch enabled WRITE @io_u
logging to io_hist when --do_verify=0 case.

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
@axboe axboe merged commit d8380ab into axboe:master Jun 11, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants