On Wed, 13 May 2020 17:34:43 +0200, Bodo Stroesser wrote:
Testing with Loopback I found, that after a Loopback LUN has executed a TMR, I can no longer unlink the LUN. The rm command hangs in transport_clear_lun_ref() at wait_for_completion(&lun->lun_shutdown_comp) The reason is, that transport_lun_remove_cmd() is not called at the end of target_tmr_work().
[...]
Applied to 5.7/scsi-fixes, thanks!
[1/1] scsi: target: Put lun_ref at end of tmr processing https://git.kernel.org/mkp/scsi/c/f2e6b75f6ee8