diff options
| author | 2026-09-15 17:42:43 +0800 | |
|---|---|---|
| committer | 2026-11-02 09:06:59 -0500 | |
| commit | a9a428115b7d8aa45e12e41899f90f60551bfa82 (patch) | |
| tree | 0cf983da1ef07a8074ef9226a01c6e3f61f03cd3 /scripts/Makefile.thinlto | |
| parent | vdpa: invalidate DMA mappings before releasing memory (diff) | |
vhost-scsi: preserve event ordering
vhost_scsi_send_evt() uses llist_add(), so pending events are LIFO.
vhost_scsi_complete_events() walks the detached list directly.
This can deliver a later hotplug or hotunplug event before an earlier
one.
Reverse the detached list before processing it.
This keeps delivery in enqueue order.
Fixes: a6c9af87363c ("tcm_vhost: Add hotplug/hotunplug support")
Signed-off-by: Jia Jia <physicalmtea@gmail.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260915094244.7900-2-physicalmtea@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
