Skip to content

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Jan 26, 2026

Pull request for series with
subject: selftests: ublk: improve I/O ordering test with bpftrace
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1047138

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 26, 2026

Upstream branch: d91a46d
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 27, 2026

Upstream branch: fcb70a5
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from 293ecf1 to 88e2348 Compare January 27, 2026 10:07
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from b44af19 to 483aa43 Compare January 29, 2026 00:24
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 29, 2026

Upstream branch: 8dfce89
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from 88e2348 to fe66a23 Compare January 29, 2026 00:28
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 483aa43 to 9d3c6de Compare February 3, 2026 19:06
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 3, 2026

Upstream branch: de0674d
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from fe66a23 to cf01ff7 Compare February 3, 2026 19:14
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 9d3c6de to 7c2ae0a Compare February 5, 2026 03:28
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 5, 2026

Upstream branch: f14faaf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from cf01ff7 to 2c994a0 Compare February 5, 2026 03:37
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 7c2ae0a to 54294d6 Compare February 6, 2026 08:51
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 6, 2026

Upstream branch: b7ff715
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from 2c994a0 to 6800aec Compare February 6, 2026 08:59
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 54294d6 to eb49f7b Compare February 8, 2026 02:55
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 8, 2026

Upstream branch: e7aa572
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from 6800aec to ba747b1 Compare February 8, 2026 04:22
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from eb49f7b to 30e5c22 Compare February 9, 2026 04:29
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 9, 2026

Upstream branch: 05f7e89
series: https://patchwork.kernel.org/project/linux-block/list/?series=1047138
version: 1

The in-tree approach requires sequential IO maintained in the whole IO
stack, which is too strict and may cause false positive because of IO
reorder caused by block layer core code, and generic_01 only covers IO
order in ublk dispatch code path.

Rework test_generic_01 to verify that ublk dispatch doesn't reorder I/O
by comparing request start order with completion order using bpftrace.

The bpftrace script now:
- Tracks each request's start sequence number in a map keyed by sector
- On completion, verifies the request's start order matches expected
  completion order
- Reports any out-of-order completions detected

The test script:
- Wait bpftrace BEGIN code block is run
- Pins fio to CPU 0 for deterministic behavior
- Uses block_io_start and block_rq_complete tracepoints
- Checks bpftrace output for reordering errors

Reported-and-tested-by: Alexander Atanasov <alex@zazolabs.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
@blktests-ci blktests-ci bot force-pushed the series/1047138=>linus-master branch from ba747b1 to 9aa45fb Compare February 9, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants