kernel - Reduce mountroot intr_config_hook wait to 30 seconds
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Jul 2015 03:26:49 +0000 (20:26 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Jul 2015 03:26:49 +0000 (20:26 -0700)
commitc822d9a20681bd9def43eb29d938745986350c89
tree9f9f2ac2e50c0fc95ad201ecab0333ebfc4ee75e
parent67616947056b13e8c351500c64f1f3068fc89982
kernel - Reduce mountroot intr_config_hook wait to 30 seconds

* Reduce the amount of time mountroot waits for storage busses and
  devices to finish configuration from 60 seconds to 30 seconds.

* Fix rare races in the intr_config_hook API by adding a lock to
  hook operations.
sys/kern/subr_autoconf.c