1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00
freebsd/cmd/zed
Rob Norris 50b32cb925
fm: pass io_flags through events & zed as uint64_t
In 4938d01db (#14086) zio_flag_t was converted from an enum (generally
signed 32-bit) to a uint64_t. The corresponding change wasn't made to
the error reporting subsystem, limiting the error flags being delivered
to zed to 32 bits. This bumps the whole pipeline to use uint64s.

A tiny bit of compatibility is added for newer zed working agsinst an
older kernel module, because its easy to do and misdetecting
scrub/resilver errors and taking action is potentially dangerous. Making
it work for new kernel modules against older zed seems to be far more
invasive for far less benefit, so I have not.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16469
2024-08-26 17:39:13 -07:00
..
agents fm: pass io_flags through events & zed as uint64_t 2024-08-26 17:39:13 -07:00
zed.d zed: Add deadman-slot_off.sh zedlet 2024-05-29 10:46:41 -07:00
.gitignore
Makefile.am
zed_conf.c
zed_conf.h
zed_disk_event.c
zed_disk_event.h
zed_event.c zed: misc vdev_enc_sysfs_path fixes 2023-11-07 09:09:24 -08:00
zed_event.h
zed_exec.c
zed_exec.h
zed_file.c
zed_file.h
zed_log.c
zed_log.h
zed_strings.c
zed_strings.h
zed.c
zed.h