]> granicus.if.org Git - zfs/commit
Add a unique "eid" value to all zevents
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Nov 2013 19:20:41 +0000 (11:20 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 31 Mar 2014 23:10:41 +0000 (16:10 -0700)
commita2f1945ee3ce8eba02ef54168c72f3be8f2cebdc
tree2aea8350c3afc4faa00f7de5037f848f8cdf4a20
parent4d8c78c84445c099873c77c9fa20287dca982ed5
Add a unique "eid" value to all zevents

Tagging each zevent with a unique monotonically increasing EID
(Event IDentifier) provides the required infrastructure for a user
space daemon to reliably process zevents.  By writing the EID to
persistent storage the daemon can safely resume where it left off
in the event stream when it's restarted.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Issue #2
include/sys/fm/protocol.h
include/sys/fm/util.h
module/zfs/fm.c