mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
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
This commit is contained in:
@@ -70,6 +70,7 @@ extern "C" {
|
||||
#define FM_EREPORT_DETECTOR "detector"
|
||||
#define FM_EREPORT_ENA "ena"
|
||||
#define FM_EREPORT_TIME "time"
|
||||
#define FM_EREPORT_EID "eid"
|
||||
|
||||
/* list.* event payload member names */
|
||||
#define FM_LIST_EVENT_SIZE "list-sz"
|
||||
|
||||
Reference in New Issue
Block a user