git: c6dc5d367681 - main - xpt_path_inq: Use CAM_PRIORITY_NONE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Jul 2025 23:18:19 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c6dc5d3676810d091fbdc26f3217af619d720fc2
commit c6dc5d3676810d091fbdc26f3217af619d720fc2
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-07-07 20:04:42 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-07-07 23:17:00 +0000
xpt_path_inq: Use CAM_PRIORITY_NONE
XPT_PATH_INQ is not a queued request. Therefore, the priority
information is not relevant, and so should be marked with
CAM_PRIORITY_NONE.
Sponsored by: Netflix
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D51167
---
sys/cam/cam_xpt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/cam/cam_xpt.h b/sys/cam/cam_xpt.h
index fa4bee97b8f7..57225a0ae92d 100644
--- a/sys/cam/cam_xpt.h
+++ b/sys/cam/cam_xpt.h
@@ -153,7 +153,7 @@ xpt_path_inq(struct ccb_pathinq *cpi, struct cam_path *path)
{
bzero(cpi, sizeof(*cpi));
- xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NORMAL);
+ xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NONE);
cpi->ccb_h.func_code = XPT_PATH_INQ;
xpt_action((union ccb *)cpi);
}