aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/logins/(developers-only)
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2025-12-11 19:05:32 +0000
committerWarner Losh <imp@FreeBSD.org>2025-12-11 19:07:17 +0000
commit8ac7a3801c6a780edf6166c14915d7ac6e36e816 (patch)
tree14341e113f2f4a1d5514b518664fffdbcfdacf71 /usr.bin/logins/(developers-only)
parentb9915c27a70f6ab2215006d8ac0906f6206dc40d (diff)
cam: Reduce overly long timeout values for initial device probingHEADmain
Currently, we have very long timeouts for the initial probing commands. However, these are not appropriate for modern (post 2010) SCSI disks. Sandards since SPC3 state that these commands should not wait for media access. Since we retry them several times during the initial bus scan, these delays can delay the boot by minutes (5 minutes per errant disk in our expereince). These delays don't help and only hurt, so reduce the TESTUNITREADY, INQUIRY and MODESENSE commands (during the initial probe). Provide sysctl/tuneables to change the time for these and also the REPORTLUNS commands for people that might need to adjust them for devices that violate this belief but none-the-less work with longer timeouts. kern.cam.tur_timeout (default was 60s, now 1s) kern.cam.inquiry_timeout (default was 60s, now 1s) kern.cam.reportluns_timeout (default is 60s) kern.cam.modesense_timeout (default was 60s, now 1s) This can be partially merged: the sysctls can, but the new defaults likely shouldn't. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D52427
Diffstat (limited to 'usr.bin/logins/(developers-only)')
0 files changed, 0 insertions, 0 deletions