HomeFreeBSD

Upstream: Add snapshot and zvol events

Description

Upstream: Add snapshot and zvol events

For kernel to send snapshot mount/unmount events to zed.

For kernel to send symlink creates/removes on zvol plumbing.
(/dev/run/dsk/zvol/$pool/$zvol -> /dev/diskX)

If zed misses the ENODEV, all errors after are EINVAL. Treat any error
as kernel module failure.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12416

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on Sep 9 2021, 5:44 PM
GitHub <noreply@github.com>Committed on Sep 9 2021, 5:44 PM
Parents
rG2079111f42a9: Linux 5.15 compat: get_acl()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG5a54a4e05179: Upstream: Add snapshot and zvol events (authored by Jorgen Lundman <lundman@lundman.net>).Sep 9 2021, 5:44 PM