aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_iter.c
diff options
context:
space:
mode:
authorDarik Horn <[email protected]>2012-06-01 20:49:10 -0500
committerBrian Behlendorf <[email protected]>2012-06-13 17:05:16 -0700
commit74497b7ab6af69434453e03c755d3f6e6e655aee (patch)
tree69c6d2068536df39f2a45e58de7deb427f0db2af /cmd/zfs/zfs_iter.c
parentbc98d6c80944dcd920d1147e6bff2192e886a2f5 (diff)
Add zvol_inhibit_dev module option.
ZoL can create more zvols at runtime than can be configured during system start, which hangs the init stack at reboot. When a slow system has more than a few hundred zvols, udev will fork bomb during system start and spend too much time in device detection routines, so upstart kills it. The zfs_inhibit_dev option allows an affected system to be rescued by skipping /dev/zd* creation and thereby avoiding the udev overload. All zvols are made inaccessible if this option is set, but the `zfs destroy` and `zfs send` commands still work, and ZFS filesystems can be mounted. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd/zfs/zfs_iter.c')
0 files changed, 0 insertions, 0 deletions