Skip to content

test/multicqes drain#1603

Open
schlad wants to merge 2 commits into
axboe:masterfrom
schlad:multicqes_drain
Open

test/multicqes drain#1603
schlad wants to merge 2 commits into
axboe:masterfrom
schlad:multicqes_drain

Conversation

@schlad

@schlad schlad commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

multi_cap is a global that caps the number of multishot SQEs per run.
It gets decremented during SQE generation but was never reset between
iterations, so calls 2-5 of test_generic_drain() could not generate any
multishot SQEs (multi_cap <= 0 makes retry1 always true). With no
multishot SQEs, cancel ops are also excluded (cnt stays 0), leaving
only single and nop ops for those iterations.

Reset multi_cap at the start of each call.

@schlad schlad force-pushed the multicqes_drain branch 3 times, most recently from a3bd366 to bb21ce0 Compare June 18, 2026 21:21
schlad added 2 commits June 19, 2026 07:00
Signed-off-by: Sebastian Chlad <sebastian.chlad@suse.com>
multi_cap is a global that caps the number of multishot SQEs per run.
It gets decremented during SQE generation but was never reset between
iterations, so calls 2-5 of test_generic_drain() could not generate any
multishot SQEs (multi_cap <= 0 makes retry1 always true). With no
multishot SQEs, cancel ops are also excluded (cnt stays 0), leaving
only single and nop ops for those iterations.

Reset multi_cap at the start of each call.

Signed-off-by: Sebastian Chlad <sebastian.chlad@suse.com>
@schlad schlad force-pushed the multicqes_drain branch from bb21ce0 to d4cab43 Compare June 19, 2026 05:00
@schlad schlad changed the title test/Multicqes drain test/multicqes drain Jun 19, 2026
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.

1 participant