Re: [PATCH] scsi: scsi_debug: Drain target cleanup before module exit

From: Martin K. Petersen

Date: Wed Oct 28 2026 - 21:23:23 EST



Giuseppe,

> Target destruction queues cleanup in an exclusive async domain. The
> module loader's async_synchronize_full() does not wait for exclusive
> domains. Wait for target cleanup after removing the hosts and before
> removing the debugfs root and returning from module exit.

Applied to 7.4/scsi-staging, thanks!

--
Martin K. Petersen