git: 478ac7dc2afd - main - cam: Also reduce timeout for wlun probing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Dec 2025 04:24:34 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=478ac7dc2afde987e2f2087e5a13fa98a7cae4f9
commit 478ac7dc2afde987e2f2087e5a13fa98a7cae4f9
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-12-12 04:21:51 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-12-12 04:21:51 +0000
cam: Also reduce timeout for wlun probing
wlun probing was added after my initial work on this and was overlooked
in merging forward. Add the timeout here too, for the same reasons as
for REPORT LUNS. This doesn't change the default.
Fixes: 8ac7a3801c6a cam: Reduce overly long timeout values for initial device probing
Sponsored by: Netflix
Reviewed by: jaeyoon
Differential Revision: https://reviews.freebsd.org/D54184
---
sys/cam/scsi/scsi_xpt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/cam/scsi/scsi_xpt.c b/sys/cam/scsi/scsi_xpt.c
index 835c7c8ad825..56fcd3873831 100644
--- a/sys/cam/scsi/scsi_xpt.c
+++ b/sys/cam/scsi/scsi_xpt.c
@@ -849,7 +849,7 @@ again:
}
scsi_report_luns(csio, 5, probedone, MSG_SIMPLE_Q_TAG,
RPL_REPORT_WELLKNOWN, rp, periph->path->target->rpl_size,
- SSD_FULL_SIZE, 60000);
+ SSD_FULL_SIZE, reportluns_timeout);
break;
}
case PROBE_REPORT_LUNS: