]> granicus.if.org Git - zfs/commit
Increase default udev wait time
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 11 Oct 2013 21:24:18 +0000 (14:24 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Oct 2013 17:25:51 +0000 (10:25 -0700)
commit11cb9d773f48830cf3ff718861c070a8937c6a03
treeee708094741cf8959364d63262655d02f18f97ae
parentb3c49d3df82466646bde9beebce7bbf0b3c41853
Increase default udev wait time

When creating a new pool, or adding/replacing a disk in an existing
pool, partition tables will be automatically created on the devices.
Under normal circumstances it will take less than a second for udev
to create the expected device files under /dev/.  However, it has
been observed that if the system is doing heavy IO concurrently udev
may take far longer.  If you also throw in some cheap dodgy hardware
it may take even longer.

To prevent zpool commands from failing due to this the default wait
time for udev is being increased to 30 seconds.  This will have no
impact on normal usage, the increase timeout should only be noticed
if your udev rules are incorrectly configured.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1646
cmd/zpool/zpool_vdev.c
include/libzfs.h
lib/libzfs/libzfs_dataset.c