linux-kernelorg-stable/include/scsi
Bart Van Assche d54c676d4f scsi: core: Fix the unit attention counter implementation
scsi_decide_disposition() may call scsi_check_sense().
scsi_decide_disposition() calls are not serialized. Hence, counter
updates by scsi_check_sense() must be serialized. Hence this patch that
makes the counters updated by scsi_check_sense() atomic.

Cc: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Fixes: a5d518cd4e ("scsi: core: Add counters for New Media and Power On/Reset UNIT ATTENTIONs")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Link: https://patch.msgid.link/20251014220244.3689508-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-10-21 21:09:36 -04:00
..
fc
fc_frame.h
fcoe_sysfs.h
iscsi_if.h
iscsi_proto.h
iser.h
libfc.h
libfcoe.h
libiscsi.h
libiscsi_tcp.h scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
libsas.h SCSI misc on 20251002 2025-10-03 19:17:48 -07:00
sas.h
sas_ata.h scsi: libsas: Move declarations of internal functions to sas_internal.h 2025-07-25 09:03:57 -04:00
scsi.h
scsi_bsg_iscsi.h
scsi_cmnd.h
scsi_common.h
scsi_dbg.h
scsi_device.h scsi: core: Fix the unit attention counter implementation 2025-10-21 21:09:36 -04:00
scsi_devinfo.h
scsi_dh.h
scsi_driver.h
scsi_eh.h
scsi_host.h scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
scsi_ioctl.h
scsi_proto.h scsi: sd: Remove the stream_status member from scsi_stream_status_header 2025-05-12 22:16:10 -04:00
scsi_status.h
scsi_tcq.h
scsi_transport.h
scsi_transport_fc.h scsi: scsi_transport_fc: Change to use per-rport devloss_work_q 2025-07-14 20:57:08 -04:00
scsi_transport_iscsi.h Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
scsi_transport_sas.h
scsi_transport_spi.h
scsi_transport_srp.h
scsicam.h scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
sg.h
srp.h
viosrp.h