]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259168:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 5 Jan 2014 22:14:12 +0000 (22:14 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 5 Jan 2014 22:14:12 +0000 (22:14 +0000)
commitdfabc8a29516acf6d23a8645af57e04dade5dd11
treef675707dfd37ba78ad235454ebf0b84272c789da
parent7b2fc56ea75c671af8dff9cab79b26364e992564
MFC r259168:
Don't even try to read vdev labels from devices smaller then SPA_MINDEVSIZE
(64MB).  Even if we would find one somehow, ZFS kernel code rejects such
devices.  It is funny to look on attempts to read 4 256K vdev labels from
1.44MB floppy, though it is not very practical and quite slow.

git-svn-id: svn://svn.freebsd.org/base/stable/10@260339 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c