mirror_zfs/module/zcommon
LOLi cf8738d853 Add port of FreeBSD 'volmode' property
The volmode property may be set to control the visibility of ZVOL
block devices.

This allow switching ZVOL between three modes:
   full - existing fully functional behaviour (default)
   dev  - hide partitions on ZVOL block devices
   none - not exposing volumes outside ZFS

Additionally the new zvol_volmode module parameter can be used to
control the default behaviour.

This functionality can be used, for instance, on "backup" pools to
avoid cluttering /dev with unneeded zd* devices.

Original-patch-by: mav <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>

FreeBSD-commit: https://github.com/freebsd/freebsd/commit/dd28e6bb
Closes #1796 
Closes #3438 
Closes #6233
2017-07-12 13:05:37 -07:00
..
Makefile.in Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_comutil.c Add missing *_destroy/*_fini calls 2017-05-04 19:26:28 -04:00
zfs_deleg.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08:00
zfs_fletcher_aarch64_neon.c Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_fletcher_avx512.c Fletcher4: save/reload implementation context 2016-10-05 16:41:46 +02:00
zfs_fletcher_intel.c Fletcher4: save/reload implementation context 2016-10-05 16:41:46 +02:00
zfs_fletcher_sse.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
zfs_fletcher_superscalar4.c Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_fletcher_superscalar.c Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_fletcher.c Use fletcher_4 routines natively with abd_iterate_func() 2017-02-01 09:34:22 -08:00
zfs_namecheck.c OpenZFS 7386 - zfs get does not work properly with bookmarks 2017-01-26 14:42:15 -08:00
zfs_prop.c Add port of FreeBSD 'volmode' property 2017-07-12 13:05:37 -07:00
zfs_uio.c Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zpool_prop.c More ashift improvements 2017-05-03 09:31:05 -07:00
zprop_common.c Change KM_PUSHPAGE -> KM_SLEEP 2015-01-16 14:41:26 -08:00