On Sat, 15 May 2021 16:03:15 +0900, Shin'ichiro Kawasaki wrote: > The BUG message "BUG: using smp_processor_id() in preemptible [00000000] > code" was observed for TCMU devices with kernel config DEBUG_PREEMPT. > > The message was observed when blktests block/005 was run on TCMU devices > with fileio backend or user:zbc backend [1]. The commit 1130b499b4a7 > ("scsi: target: tcm_loop: Use LIO wq cmd submission helper") triggered > the symptom. The commit modified work queue to handle commands and > changed 'current->nr_cpu_allowed' at smp_processor_id() call. > > [...] Applied to 5.13/scsi-fixes, thanks! [1/1] scsi: target: Avoid smp_processor_id() in preemptible code https://git.kernel.org/mkp/scsi/c/70ca3c57ff91 -- Martin K. Petersen Oracle Linux Engineering