aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJia Jia <physicalmtea@gmail.com>2026-09-15 17:42:44 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-11-02 09:06:59 -0500
commita016d03a9cfe29aeeba438f32f8e8f63291e3275 (patch)
tree2563e5864b2e9d188e1f9d7ebbd069b564f75588 /scripts/Makefile.thinlto
parentvhost-scsi: preserve event ordering (diff)
vhost-scsi: do not relock event vq mutex on send_evt fallback
vhost_scsi_send_evt() is called with the event virtqueue mutex held. If the worker is gone, the fallback currently calls vhost_scsi_complete_events(), which tries to acquire the same mutex again and deadlocks the caller. Split event completion into a helper for callers that already hold the mutex and a locking wrapper for the event worker. Use the helper on the fallback path. Link: https://lore.kernel.org/all/20260905005352.1E5B01F00A3D@smtp.kernel.org/ Fixes: b1b2ce58ed23 ("vhost-scsi: Handle vhost_vq_work_queue failures for events") 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-3-physicalmtea@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions