rtio: Possibly missed callback when linking #72740
Labels
area: RTIO
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Milestone
Describe the bug
@swift-tk had a question in discord that lead to me believing a bug exists in the current way we do callback ops.
We currently do callback ops only on submit https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/rtio/rtio_executor.c#L65
But not if they are chained from a completion https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/rtio/rtio_executor.c#L164
A test should easily show this to be reproducible when fixing.
Expected behavior
Linked callback ops occur after the ops they are linked to complete
Impact
Out of order operations are possible
The text was updated successfully, but these errors were encountered: