Files
erofs-linux/drivers/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 <[email protected]>
Fixes: a5d518cd4e ("scsi: core: Add counters for New Media and Power On/Reset UNIT ATTENTIONs")
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Ewan D. Milne <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
2025-10-21 21:09:36 -04:00
..
2025-06-09 21:30:14 -04:00
2024-12-09 21:59:52 -05:00
…
…
…
…
2024-12-09 21:59:52 -05:00
…
…
…
…
…
…
…
2024-12-09 21:59:52 -05:00
…
…
…
2024-12-09 21:59:52 -05:00
2025-01-02 13:42:35 -05:00
…
…
…
…
2024-12-09 21:59:52 -05:00
…
…
…
…
2025-02-03 18:04:55 -05:00
…
…
…
…
…
…
…
2024-12-09 21:59:52 -05:00
…
…
…
…
…
…
…
2025-08-30 21:46:21 -04:00
…
…
…