]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/spa.h
Bring over illumos ZFS FMA logic -- phase 1
authorDon Brady <don.brady@intel.com>
Wed, 31 Aug 2016 21:46:58 +0000 (15:46 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Sep 2016 18:39:45 +0000 (11:39 -0700)
commitd02ca379795a37b8541da5a1b37528f7130de1e6
tree67167cfd23f15abeccefe553400bf37dd1032399
parent0b284702b75aa712a7d1353b93e19d5b2c783f27
Bring over illumos ZFS FMA logic -- phase 1

This first phase brings over the ZFS SLM module, zfs_mod.c, to handle
auto operations in response to disk events. Disk event monitoring is
provided from libudev and generates the expected payload schema for
zfs_mod. This work leverages the recently added devid and phys_path
strings in the vdev label.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@intel.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #4673
20 files changed:
cmd/zed/Makefile.am
cmd/zed/agents/zfs_agents.h [new file with mode: 0644]
cmd/zed/agents/zfs_diagnosis.c [new file with mode: 0644]
cmd/zed/agents/zfs_mod.c [new file with mode: 0644]
cmd/zed/agents/zfs_retire.c [new file with mode: 0644]
cmd/zed/zed.d/all-syslog.sh
cmd/zed/zed_disk_event.c [new file with mode: 0644]
cmd/zed/zed_disk_event.h [new file with mode: 0644]
cmd/zed/zed_event.c
cmd/zpool/zpool_main.c
include/libzfs.h
include/sys/fm/fs/zfs.h
include/sys/spa.h
include/sys/sysevent/Makefile.am
include/sys/sysevent/dev.h [new file with mode: 0644]
lib/libzfs/libzfs_import.c
lib/libzfs/libzfs_pool.c
module/zfs/vdev.c
module/zfs/zfs_fm.c
scripts/zconfig.sh