freebsd-nq/uts/common/sys
Alexander Motin 619fd3c317 8677 Open-Context Channel Programs
illumos/illumos-gate@a3b2868063

https://www.illumos.org/issues/8677
  We want to be able to run channel programs outside of synching context.
  This would greatly improve performance of channel program that just gather
  information, as we won't have to wait for synching context anymore.

  This feature should introduce the following:
  - A new command line flag in "zfs program" to specify our intention to
  run in open context.
  - A new flag/option within the channel program ioctl which selects the
  context.
  - Appropriate error handling whenever we try a channel program in
  open-context that contains zfs.sync* expressions.
  - Documentation for the new feature in the manual pages.

Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: Chris Williamson <chris.williamson@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author:	Serapheim Dimitropoulos <serapheim@delphix.com>
2018-01-21 19:26:38 +00:00
..
fm Update vendor-sys/illumos/dist to illumos-gate 14051:849852750426 2013-06-11 18:46:37 +00:00
fs 8677 Open-Context Channel Programs 2018-01-21 19:26:38 +00:00
sysevent 6939 add sysevents to zfs core for commands 2017-06-09 14:56:17 +00:00
acl_impl.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
acl.h 6762 POSIX write should imply DELETE_CHILD on directories - and 2016-05-11 12:58:12 +00:00
avl_impl.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
avl.h 4873 zvol unmap calls can take a very long time for larger datasets 2014-07-29 07:08:32 +00:00
bitmap.h 5042 stop using deprecated atomic functions 2014-08-20 06:15:53 +00:00
callb.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
ccompile.h Update vendor-sys/illumos/dist to pre libzfs_core state 2012-07-18 09:10:54 +00:00
cmn_err.h Update vendor-sys/illumos/dist to pre libzfs_core state 2012-07-18 09:10:54 +00:00
compress.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
cpupart.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
cpuvar.h 5285 pass in cpu_pause_func via pause_cpus 2014-12-05 23:51:20 +00:00
cred.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
ctf_api.h 4474 DTrace Userland CTF Support 2014-06-03 01:24:46 +00:00
ctf.h Vendor import (really!) of the OpenSolaris bits for DTrace. 2008-05-22 07:00:07 +00:00
debug.h 8585 improve batching done in zil_commit() 2017-09-13 10:59:36 +00:00
dtrace_impl.h 7035 string-related subroutines should validate input earlier 2016-06-06 22:09:22 +00:00
dtrace.h 6271 dtrace caused excessive fork time 2015-10-08 04:29:39 +00:00
edonr.h 4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R 2015-10-14 11:12:47 +00:00
errorq.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
extdirent.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
fasttrap_impl.h Import fasttrap_impl.h header from OpenSolaris. 2009-06-18 19:55:59 +00:00
fasttrap.h Vendor import (really!) of the OpenSolaris bits for DTrace. 2008-05-22 07:00:07 +00:00
feature_tests.h 5066 remove support for non-ANSI compilation 2014-08-20 06:29:42 +00:00
gfs.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
idmap.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
isa_defs.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
list_impl.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
list.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
note.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
nvpair_impl.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
nvpair.h Update vendor/illumos/dist and vendor-sys/illumos/dist 2013-03-01 21:01:45 +00:00
processor.h 5066 remove support for non-ANSI compilation 2014-08-20 06:29:42 +00:00
procset.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
skein.h 4185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R 2015-10-14 11:12:47 +00:00
synch.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
sysevent.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
sysmacros.h Update vendor-sys/illumos/dist to pre libzfs_core state 2012-07-18 09:10:54 +00:00
taskq.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
u8_textprep_data.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
u8_textprep.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00
vnode.h 8376 cached v_path should be kept fresh 2017-09-13 10:25:44 +00:00
zmod.h Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 08:12:04 +00:00