freebsd-nq/include/sys/sysevent
Brian Behlendorf d5e024cba2 Emit history events for 'zpool create'
History commands and events were being suppressed for the
'zpool create' command since the history object did not
yet exist.  Create the object earlier so this history
doesn't get lost.

Split the pool_destroy event in to pool_destroy and
pool_export so they may be distinguished.

Updated events_001_pos and events_002_pos test cases.  They
now check for the expected history events and were reworked
to be more reliable.

Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6712 
Closes #6486
2017-10-23 09:45:59 -07:00
..
dev.h Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
eventdefs.h Emit history events for 'zpool create' 2017-10-23 09:45:59 -07:00
Makefile.am Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00