freebsd-skq/cddl/contrib/opensolaris
mav dd28e6bbc0 Add property and sysctl to control how ZVOLs are exposed to OS.
New ZFS property volmode and sysctl vfs.zfs.vol.mode allow switching ZVOL
between three modes:
 geom -- existing fully functional behavior (default);
 dev -- exposing volumes only as raw disk device file in devfs;
 none -- not exposing volumes outside ZFS.

The "dev" mode is less functional (can't be partitioned, mounted, etc),
but it is faster, and in some scenarios with untrusted consumers safer.
It can be useful for NAS, VM block storages, etc.
The "none" mode may be convenient for backup servers, etc. that don't
need direct data access.

Due to the way ZVOL is integrated with main ZFS code, those property
and sysctl are checked only during pool import and volume creation.

MFC after:	1 month
Sponsored by:	iXsystems, Inc.
2014-04-05 13:01:44 +00:00
..
cmd Add property and sysctl to control how ZVOLs are exposed to OS. 2014-04-05 13:01:44 +00:00
common Quiesce warning assigning to void * from const ctf_header_t * by explicity casting 2013-11-04 21:32:07 +00:00
head thr_create: new_thread_ID may be NULL 2011-10-21 13:54:58 +00:00
lib MFV r258379; 2014-04-02 15:32:44 +00:00
tools/ctf Only declare `bysz' variable under little endian archs. 2014-01-29 09:58:05 +00:00
OPENSOLARIS.LICENSE Now that we have CDDLed code in the tree, add CDDL license. 2007-09-23 07:04:50 +00:00