Bug 1967567
| Summary: | mdflush.bt is not working | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jerome Marchand <jmarchan> |
| Component: | bpftrace | Assignee: | Jerome Marchand <jmarchan> |
| Status: | CLOSED ERRATA | QA Contact: | Ziqian SUN (Zamir) <zsun> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | xiawu, zsun |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | bpftrace-0.12.1-3.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 12:54:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1919016 | ||
*** Bug 1975154 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: bpftrace), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2419 |
Description of problem: mdflush.bt is not working on the latest kernel. The reason is a change in bio structure brought by commit 309dca309fc3 (""block: store a block_device pointer in struct bio). Upstream need to be fixed first. # /usr/share/bpftrace/tools/mdflush.bt /usr/share/bpftrace/tools/mdflush.bt:29:6-36: ERROR: Struct/union of type 'struct bio' does not contain a field named 'bi_disk' ((struct bio *)arg1)->bi_disk->disk_name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~