summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2026-10-30 15:42:35 -0700
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-11-04 22:33:43 -0500
commitb7545895b1c97b8fd0201ee6eac9cbeb57f1e3c5 (patch)
tree1e8e1201b817397f7e3958e1c1941d6a024aefaf /scripts/Makefile.thinlto
parent6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff)
downloadlinux-next-b7545895b1c97b8fd0201ee6eac9cbeb57f1e3c5.tar.gz
linux-next-b7545895b1c97b8fd0201ee6eac9cbeb57f1e3c5.zip
scsi: core: Introduce scsi_cmd_needs_stu()
Introduce scsi_cmd_needs_stu() and use it in scsi_eh_stu() instead of testing scsi_check_sense(scmd) == FAILED. This makes it explicit that START UNIT is only sent for LU_NOT_READY_INITIALIZING_COMMAND_REQUIRED and prevents that the error handler reports sense data a second time. This patch prepares for making scsi_decide_disposition() escalate persistent UNIT ATTENTION conditions to the error handler. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/c35a3b27958cb93c26c1ccecccd572c54da448e4.1793400000.git.bvanassche@acm.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions