aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2021-05-19 22:26:40 +0000
committerMartin K. Petersen <[email protected]>2021-05-21 20:40:00 +0000
commit5aaeca258f5540ca5cd4a56758ef03faacb7716d (patch)
tree660685f76a9cd3c28bfc84c2547a9342de5d905c /net/switchdev/switchdev.c
parentscsi: libsas: Use _safe() loop in sas_resume_port() (diff)
downloadkernel-5aaeca258f5540ca5cd4a56758ef03faacb7716d.tar.gz
kernel-5aaeca258f5540ca5cd4a56758ef03faacb7716d.zip
scsi: target: iblock: Fix smp_processor_id() BUG messages
This has us use raw_smp_processor_id() in iblock's plug_device callout. smp_processor_id() is not needed here, because we are running from a per CPU work item that is also queued to run on a worker thread that is normally bound to a specific CPU. If the worker thread did end up switching CPUs then it's handled the same way we handle when the work got moved to a different CPU's worker thread, where we will just end up sending I/O from the new CPU. Link: https://lore.kernel.org/r/[email protected] Fixes: 415ccd9811da ("scsi: target: iblock: Add backend plug/unplug callouts") Signed-off-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions