freebsd-skq/sys
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
..
amd64 Re-write bhyve's I/O MMU handling in terms of PCI RID. 2014-04-01 15:54:03 +00:00
arm Enable SMP for Pandaboard. 2014-04-04 20:58:45 +00:00
boot Connect sys/boot/amd64 to the build 2014-04-04 18:07:21 +00:00
bsm Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
cam All the iSCSI sysctls are also tunables; advertise that. 2014-04-04 08:48:55 +00:00
cddl Add property and sysctl to control how ZVOLs are exposed to OS. 2014-04-05 13:01:44 +00:00
compat Remove instances of variables that were set, but never used. gcc 4.9 2014-03-30 23:43:36 +00:00
conf Change NO_EVENTTIMERS from an arm-specific to an MI option, so that it can 2014-04-02 19:51:29 +00:00
contrib Fix ah_powerMode setting. 2014-03-29 18:56:11 +00:00
crypto replace the kernel's version w/ cperciva's implementation... In all 2014-03-16 01:43:23 +00:00
ddb ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
dev Add PCI-IDs for TBD Gen9 RAID controller HBAs from HP to ciss(4) 2014-04-04 17:01:49 +00:00
fs Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
gdb
geom Show error code when failing to destroy a mirror on delay 2014-04-05 03:01:29 +00:00
gnu Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
i386 Clear the kernel grab of the FPU state on fork. The pcb_save pointer 2014-03-29 11:56:33 +00:00
ia64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Initialise m_pkthdr via bzero instead of explicitly zeroing each member 2014-04-04 21:09:06 +00:00
kgssapi
libkern Fix typo 2013-11-29 20:14:26 +00:00
mips Change kernel/rootfs hints to use search patterns instead of absolute 2014-04-04 15:52:45 +00:00
modules Remove ctl_mem_pool.{c,h}. 2014-03-27 11:10:13 +00:00
net Merge from projects/pf r251993 (glebius@): 2014-03-25 06:55:53 +00:00
net80211 Remove IPX support. 2014-03-14 02:58:48 +00:00
netgraph Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
netinet Improve readability of comments for DELAY_ACK() macro. 2014-04-03 01:46:03 +00:00
netinet6 Remove unused label. 2014-03-31 14:40:35 +00:00
netipsec The check for local address spoofing lacks ifaddr locking. 2014-04-04 16:58:32 +00:00
netnatm Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
netpfil Merge from projects/pf r251993 (glebius@): 2014-03-25 06:55:53 +00:00
netsmb Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
nfs - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
nfsclient For software builds, the NFS client does many small 2013-12-07 23:05:59 +00:00
nfsserver Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
pci Increase the number of TX DMA segments from 32 to 35. It turned 2014-03-31 01:54:59 +00:00
powerpc Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
rpc Fix lock acquisition in case no request space available, missed in r260097. 2014-02-04 00:00:01 +00:00
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
sys Add missing userspace bits to <sys/procdesc.h>. 2014-04-05 11:37:58 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
ufs Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
vm Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86 Re-implement the DMAR I/O MMU code in terms of PCI RIDs 2014-04-01 15:48:46 +00:00
xdr
xen Revert last change, it breaks other things. 2014-03-19 20:40:57 +00:00
Makefile Remove AppleTalk support. 2014-03-14 06:29:43 +00:00