Andriy Gapon
cc03e98a7b
6939 add sysevents to zfs core for commands
illumos/illumos-gate@ce1577b049
ce1577b049
https://www.illumos.org/issues/6939
Originally created https://smartos.org/bugview/OS-4489
sysevents should be fired in the kernel from ZFS whenever a command
is run that is logged in zpool history.
Example output
Terminal 1
root - gz sunos ~ # zfs create zones/foobar
root - gz sunos ~ # zfs set quota=10g zones/foobar
root - gz sunos ~ # zfs destroy zones/foobar
Terminal 2
root - gz sunos ~ # sysevent EC_zfs
nvlist version: 0
date = 2016-04-28T14:50:08.964Z
vendor = SUNW
publisher = zfs
class = EC_zfs
subclass = ESC_ZFS_history_event
pid = 0
data = (embedded nvlist)
nvlist version: 0
pool_name = zones
pool_guid = 0x40c964e8f9a7a694
history_record = (embedded nvlist)
nvlist version: 0
dsname = zones/foobar
dsid = 0x1525
history internal str =
internal_name = create
history txg = 0x4c4ef3
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Josh Wilsdon <jwilsdon@joyent.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed by: Alan Somers <asomers@gmail.com>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Dave Eddy <dave@daveeddy.com>
2017-06-09 14:56:17 +00:00
..
2013-06-11 18:46:37 +00:00
2017-06-09 14:56:17 +00:00
2017-06-09 14:56:17 +00:00
2012-07-18 08:12:04 +00:00
2016-05-11 12:58:12 +00:00
2012-07-18 08:12:04 +00:00
2014-07-29 07:08:32 +00:00
2014-08-20 06:15:53 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 09:10:54 +00:00
2012-07-18 09:10:54 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2014-12-05 23:51:20 +00:00
2012-07-18 08:12:04 +00:00
2014-06-03 01:24:46 +00:00
2008-05-22 07:00:07 +00:00
2015-10-14 11:12:47 +00:00
2016-06-06 22:09:22 +00:00
2015-10-08 04:29:39 +00:00
2015-10-14 11:12:47 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2009-06-18 19:55:59 +00:00
2008-05-22 07:00:07 +00:00
2014-08-20 06:29:42 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2013-03-01 21:01:45 +00:00
2014-08-20 06:29:42 +00:00
2012-07-18 08:12:04 +00:00
2015-10-14 11:12:47 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 09:10:54 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2012-07-18 08:12:04 +00:00
2017-05-26 11:39:34 +00:00
2012-07-18 08:12:04 +00:00