freebsd-nq/sys/cddl/contrib
Andriy Gapon 8bf749ef3a zvol: set mediasize in geom provider right upon its creation
... instead of deferring the action until first open.
Unlike upstream this has no benefit on FreeBSD.
We know that as soon as the provider is created it is going to be tasted
and thus opened.  Initial mediasize of zero causes tasting failure
and subsequent retasting because of the size change.

MFC after:	14 days
2012-10-06 19:57:27 +00:00
..
opensolaris zvol: set mediasize in geom provider right upon its creation 2012-10-06 19:57:27 +00:00