aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2025-12-12 04:21:51 +0000
committerWarner Losh <imp@FreeBSD.org>2025-12-12 04:21:51 +0000
commit478ac7dc2afde987e2f2087e5a13fa98a7cae4f9 (patch)
tree1b23de49c39eb221824470395dc5d2a43d07aece
parent8ac7a3801c6a780edf6166c14915d7ac6e36e816 (diff)
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
-rw-r--r--sys/cam/scsi/scsi_xpt.c2
1 files changed, 1 insertions, 1 deletions
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: