Re: [PATCH] xen/scsiback: unbind the IRQ before draining in-flight requests

From: Yehyeong Lee

Date: Fri Nov 20 2026 - 10:05:46 EST


On Mon, Nov 09, 2026 at 09:26:54PM +0900, Yehyeong Lee wrote:
> scsiback_disconnect() drains the in-flight count before stopping the only
> thing that can raise it. scsiback_cmd_exec() (xen-scsiback.c:426) runs in
> the backend's threaded IRQ handler, so a request can be admitted just after
> wait_event() has seen zero, and its response is written later from target
> core context by scsiback_send_response() (:347) - after the ring has been
> unmapped, and on the scsiback_remove() path (:1268-1280) after kfree(info).

This is superseded by v2:
https://lore.kernel.org/all/20261113110036.146860-1-yhlee@xxxxxxxxxxxxxxxxxx/

Best regards,
Yehyeong Lee