SVNews r330524

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-05 20:43:43 - r330524 by asomers (asomers)

Complete list of files affected by revision r330524:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/10  
  History   Contents   Diff   MODIFY   /stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c  

Commit message:

MFC r324940:

Fix the error message when creating a zpool on a too-small device

Don't check for SPA_MINDEVSIZE in vdev_geom_attach when opening by path.
It's redundant with the check in vdev_open, and failing to attach here
results in the wrong error message being printed. However, still check for
it in some other situations:

* When opening by guids, so we don't get bogged down reading from slow
  devices like floppy drives.
* In vdev_geom_read_pool_label for the same reason, because we iterate over
  all providers.
* If the caller requests that we verify the guid, because then we'll have to
  read from the device before vdev_open verifies the size.

PR: 222227
Reported by: Marie Helene Kvello-Aune <>
Reviewed by: avg, mav
Sponsored by: Spectra Logic Corp
Differential Revision:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 2 files printed. Current time is 2018-03-22 11:37:35. All times are in UTC/GMT.