]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r259168:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 18 Feb 2014 14:53:36 +0000 (14:53 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 18 Feb 2014 14:53:36 +0000 (14:53 +0000)
commit1e7d9fb49df99b5ca847c257745e889941d7d2d3
treede861884203e64140703ab8df51e1bf3ebde7465
parent72c55ad6c5ab2cf2d24c601fe4bb3106a4e3639a
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/9@262165 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