diff options
author | Serapheim Dimitropoulos <serapheim@delphix.com> | 2017-04-12 09:55:25 -0700 |
---|---|---|
committer | Prakash Surya <prakash.surya@delphix.com> | 2017-11-17 10:36:13 -0800 |
commit | a3b2868063897ff0083dea538f55f9873eec981f (patch) | |
tree | 4bd886c06c61867f0654bce2eab8a8ddac8eee21 /usr/src/man/man1m/zfs-program.1m | |
parent | 9dca21df58d57c2dadfa3bcb1d33c7bd0260cfd8 (diff) | |
download | illumos-joyent-a3b2868063897ff0083dea538f55f9873eec981f.tar.gz |
8677 Open-Context Channel Programs
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>
Diffstat (limited to 'usr/src/man/man1m/zfs-program.1m')
-rw-r--r-- | usr/src/man/man1m/zfs-program.1m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/man/man1m/zfs-program.1m b/usr/src/man/man1m/zfs-program.1m index be42dae84b..abd93a5a73 100644 --- a/usr/src/man/man1m/zfs-program.1m +++ b/usr/src/man/man1m/zfs-program.1m @@ -18,6 +18,7 @@ .Nd executes ZFS channel programs .Sh SYNOPSIS .Cm "zfs program" +.Op Fl n .Op Fl t Ar instruction-limit .Op Fl m Ar memory-limit .Ar pool @@ -45,6 +46,14 @@ will be run on and any attempts to access or modify other pools will cause an error. .Sh OPTIONS .Bl -tag -width "-t" +.It Fl n +Executes a read-only channel program, which runs faster. +The program cannot change on-disk state by calling functions from the +zfs.sync submodule. +The program can be used to gather information such as properties and +determining if changes would succeed (zfs.check.*). +Without this flag, all pending changes must be synced to disk before a +channel program can complete. .It Fl t Ar instruction-limit Execution time limit, in number of Lua instructions to execute. If a channel program executes more than the specified number of instructions, |