git: 33734ddf2b18 - main - cam: Be explict about CAM_SMP_STATUS_ERROR

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 21 Jul 2023 04:32:31 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=33734ddf2b184ef82fcef31ecb5c679f6d4b1eeb

commit 33734ddf2b184ef82fcef31ecb5c679f6d4b1eeb
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-07-21 04:22:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-07-21 04:32:31 +0000

    cam: Be explict about CAM_SMP_STATUS_ERROR
    
    This is normally caught by default:, but no harm in making it explicit
    that we'll retry valid periphs.
    
    Sponsored by:           Netflix
    Reviewed by:            mav
    Differential Revision:  https://reviews.freebsd.org/D41083
---
 sys/cam/cam_periph.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index 0e563343ee96..fe256e84cd2c 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -1996,6 +1996,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
 		relsim_flags = RELSIM_RELEASE_AFTER_TIMEOUT;
 		/* FALLTHROUGH */
 	case CAM_ATA_STATUS_ERROR:
+	case CAM_SMP_STATUS_ERROR:
 	case CAM_REQ_CMP_ERR:
 	case CAM_CMD_TIMEOUT:
 	case CAM_UNEXP_BUSFREE: