Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 04:32:30 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 367699ca7ac7 - main - cam/scsi: Better action for ASC/ASCQ 0x18/0x08
Message-ID:  <202307210432.36L4WUN4014738@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=367699ca7ac706cf8e454c77abd57a1a54e7a877

commit 367699ca7ac706cf8e454c77abd57a1a54e7a877
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-07-21 04:22:07 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-07-21 04:32:30 +0000

    cam/scsi: Better action for ASC/ASCQ 0x18/0x08
    
    0x18/0x8 is another code to indicate that the data was recovered
    successfully, so complete the command w/o an error rather than retry the
    operation.
    
    Sponsored by:           Netflix
    Reviewed by:            mav, jhb
    Differential Revision:  https://reviews.freebsd.org/D41082
---
 sys/cam/scsi/scsi_all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index c1b23438fb4a..9c408fd85b05 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -1592,7 +1592,7 @@ static struct asc_table_entry asc_table[] = {
 	{ SST(0x18, 0x07, SS_NOP | SSQ_PRINT_SENSE,
 	    "Recovered data with ECC - data rewritten") },
 	/*      R         */
-	{ SST(0x18, 0x08, SS_RDEF,	/* XXX TBD */
+	{ SST(0x18, 0x08, SS_NOP | SSQ_PRINT_SENSE,
 	    "Recovered data with linking") },
 	/* D     O    K   */
 	{ SST(0x19, 0x00, SS_RDEF,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307210432.36L4WUN4014738>