New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replay of blktrace containing Trim operations causes assert #771
Comments
I'm sorry - that prior patch was a hack - and doesn't work in all cases.
That is, replace this:
with this:
Thanks |
Might be a dup of #769 but this issue (771) has more information in it. |
#769 might be a similar problem, but that occurs using the 'legacy' replay. This issue, #771, is the same as the pull request: #777, which I opened created after there was not attention on this for a month. Maybe one or the other should be closed - how would you prefer to get issues? |
@shimrot I follow both but I'm more likely to do a drive by review on GitHub (as you've found '-). So long as you clearly link both together I think we'll be fine continuing with the approaches you've taken so far... |
Closing due to lack of reply from reporter. If this issue is still happening with the latest fio (see https://github.com/axboe/fio/releases to find out which version that is) please reopen. Thanks! |
Replay of blktrace containing trim operations gets assert failure:
To reproduce:
Start blktrace:
Run fio with some trim operations:
Create blkparse bin file:
Replay gives fio_ro_check assertion:
Debugging, I found that the assertion is not finding an active TD_DDIR_TRIM flag in td_ddir.
The following TD_DDIR_TRIM addition does seem to fix, but I'm unclear if there are other implications. Perhaps it's better to be another else if leg, or perhaps a change to the assertion check.
Thanks
The text was updated successfully, but these errors were encountered: