linux-stable/drivers/target
Mike Christie 5aaeca258f 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/20210519222640.5153-1-michael.christie@oracle.com
Fixes: 415ccd9811 ("scsi: target: iblock: Add backend plug/unplug callouts")
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-05-21 16:40:00 -04:00
..
iscsi Merge branch '5.12/scsi-fixes' into 5.13/scsi-staging 2021-04-12 21:41:54 -04:00
loopback scsi: target: tcm_loop: Use LIO wq cmd submission helper 2021-03-04 17:37:02 -05:00
sbp scsi: target: sbp_target: Convert to new submission API 2021-03-04 17:37:01 -05:00
tcm_fc scsi: target: tcm_fc: Fix a kernel-doc header 2021-04-15 22:44:41 -04:00
Kconfig
Makefile
target_core_alua.c scsi: target: alua: Remove in_interrupt() usage in core_alua_check_nonop_delay() 2021-01-22 20:25:25 -05:00
target_core_alua.h
target_core_configfs.c scsi: target: Shorten ALUA error messages 2021-04-15 22:44:41 -04:00
target_core_device.c scsi: target: Make the virtual LUN 0 device 2021-04-05 23:26:39 -04:00
target_core_fabric_configfs.c scsi: target: core: Make completion affinity configurable 2021-03-04 17:37:03 -05:00
target_core_fabric_lib.c scsi: target: Handle short iSIDs 2020-07-08 00:14:34 -04:00
target_core_file.c scsi: target: core: file: Don't duplicate memset(0xff) 2021-03-09 23:47:18 -05:00
target_core_file.h
target_core_hba.c
target_core_iblock.c scsi: target: iblock: Fix smp_processor_id() BUG messages 2021-05-21 16:40:00 -04:00
target_core_iblock.h scsi: target: iblock: Add backend plug/unplug callouts 2021-03-04 17:37:02 -05:00
target_core_internal.h scsi: target: core: Make completion affinity configurable 2021-03-04 17:37:03 -05:00
target_core_pr.c scsi: target: Fix two format specifiers 2021-04-15 22:44:41 -04:00
target_core_pr.h
target_core_pscsi.c SCSI misc on 20210428 2021-04-28 17:22:10 -07:00
target_core_pscsi.h
target_core_rd.c scsi: target: Add the DUMMY flag to rd_mcp 2021-04-05 23:26:38 -04:00
target_core_rd.h scsi: target: Add the DUMMY flag to rd_mcp 2021-04-05 23:26:38 -04:00
target_core_sbc.c scsi: target: core: Get rid of warning in compare_and_write_do_cmp() 2021-03-09 23:47:18 -05:00
target_core_spc.c scsi: target: Make the virtual LUN 0 device 2021-04-05 23:26:39 -04:00
target_core_stat.c scsi: target: core: Remove unused macros NONE and ISPRINT 2021-03-09 23:47:18 -05:00
target_core_tmr.c scsi: target: core: Flush submission work during TMR processing 2021-03-04 17:37:02 -05:00
target_core_tpg.c scsi: target: Drop sess_cmd_lock from I/O path 2020-11-04 22:39:37 -05:00
target_core_transport.c scsi: target: core: Avoid smp_processor_id() in preemptible code 2021-05-21 16:14:02 -04:00
target_core_ua.c scsi: target: use an enum to track emulate_ua_intlck_ctrl 2020-02-21 17:37:16 -05:00
target_core_ua.h
target_core_user.c scsi: target: tcmu: Fix xarray RCU warning 2021-05-21 16:15:48 -04:00
target_core_xcopy.c scsi: target: core: Add gfp_t arg to target_cmd_init_cdb() 2021-03-04 17:37:02 -05:00
target_core_xcopy.h scsi: target: Fix XCOPY NAA identifier lookup 2021-01-11 17:06:48 -05:00