> From: sungbyeongchan <[email protected]>
> 
> Split virtqueues save descriptor flags and next indexes in desc_extra
> before publishing descriptors to the device. The detach path uses the
> shadow next index, but decides whether to continue by rereading the NEXT
> flag from the shared descriptor.
> 
> Use the shadow flags for the continuation decision as well. This keeps
> all detach metadata in the same driver-owned snapshot and avoids an
> unnecessary shared-ring read.
> 
> Fixes: 72b5e8958738 ("virtio-ring: store DMA metadata in desc_extra for split 
> virtqueue")
> Acked-by: Michael S. Tsirkin <[email protected]>
> Assisted-by: LLM
> Signed-off-by: sungbyeongchan <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

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


Reply via email to