> A failed queue submission can strand earlier messages from the same ACK.
> Restore the failed message length, notify any earlier queued messages,
> and propagate the failure through the indirect transfer callback. Commit
> its private cursor only after successful submission.
> 
> Keep ACK admission closed across the linked prepare action and publish
> the prepared state from the new prepare-completion callback. On failure,
> leave the stream unprepared and reopen admission only after the core
> reports completion.
> 
> Once the PCM core has moved a member to XRUN, return -EBADFD from a
> later ACK so it does not request a second linked-group XRUN. ACK during
> prepare remains rejected until the completion callback.
> 
> Fixes: fe981e67568c ("ALSA: virtio: use ack callback")
> Assisted-by: LLM
> Signed-off-by: Joonho Lee <[email protected]>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=5


Reply via email to