Date: Fri, 21 Jul 2023 04:32:29 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: 38e831a8956e - main - cam: Add comment about recovery ccbs Message-ID: <202307210432.36L4WTQc014715@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=38e831a8956e10809003e632a37f958e32578c9f commit 38e831a8956e10809003e632a37f958e32578c9f Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-07-21 04:21:57 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-07-21 04:32:30 +0000 cam: Add comment about recovery ccbs SS_START and higher actions (currently only SS_TUR) allocate a recovery CCB to send a command to the periph. Add a quick comment about that here. Sponsored by: Netflix Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D41081 --- sys/cam/scsi/scsi_all.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 4087c7b01778..37a58fda433e 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -72,6 +72,8 @@ typedef enum { SS_NOP = 0x000000, /* Do nothing */ SS_RETRY = 0x010000, /* Retry the command */ SS_FAIL = 0x020000, /* Bail out */ + + /* Actions larger than SS_START allocate a recovery CCB */ SS_START = 0x030000, /* Send a Start Unit command to the device, * then retry the original command. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307210432.36L4WTQc014715>