zfs/cmd/zed
nssrikanth 32366649d3
Fixed issue with processing of EC_dev_remove event
The pool guid and vdev guid received by zfs_agent_post_event(),
which calls zfs_retire_recv(), are normally non-zero.  However,
later in this same method they may be unconditionally reset to
zero by the code which is intended to handle  multipath, spare
and l2arc vdevs.  This will result in the EC_dev_remove not
being handled.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>\
Co-authored-by: Vipin Kumar Verma <vipin.verma@hpe.com>
Signed-off-by: Srikanth N S <srikanth.nagasubbaraoseetharaman@hpe.com>
Closes #11564
2021-02-05 08:30:50 -08:00
..
agents Fixed issue with processing of EC_dev_remove event 2021-02-05 08:30:50 -08:00
zed.d ZED/zfs-list-cacher.sh: don't exit on ignored event type 2020-12-18 09:34:10 -08:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zed.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_conf.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_conf.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_disk_event.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zed_disk_event.h Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
zed_event.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_event.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_exec.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_exec.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_file.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_file.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_log.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_log.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_strings.c Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_strings.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00