mirror_zfs/cmd/zed
наб 54f6daea7a zed: replace zed_file_write_n() with write(2), purge it
We set SA_RESTART early on, which will prevent EINTRs (indeed, to the
point of needing to clear it in the reaper, since it interferes with
pause(2)), which is the only error zed_file_write_n() actually handled
(plus, the pid write is no bigger than 12 bytes anyway)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11834
2021-04-07 14:52:30 -07:00
..
agents zed: set names for all threads 2021-04-02 16:29:35 -07: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_conf.c zed: replace zed_file_write_n() with write(2), purge it 2021-04-07 14:52:30 -07:00
zed_conf.h zed: purge all mentions of a configuration file 2021-04-07 14:50:52 -07:00
zed_disk_event.c zed: set names for all threads 2021-04-02 16:29:35 -07:00
zed_disk_event.h Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
zed_event.c zed: merge all _NOT_IMPLEMENTED_ events 2021-04-07 14:51:34 -07:00
zed_event.h Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zed_exec.c zed: print combined system/user time after ZEDLET death 2021-04-07 14:50:03 -07:00
zed_exec.h zed: allow limiting concurrent jobs 2021-04-02 16:30:53 -07:00
zed_file.c zed: replace zed_file_write_n() with write(2), purge it 2021-04-07 14:52:30 -07:00
zed_file.h zed: replace zed_file_write_n() with write(2), purge it 2021-04-07 14:52:30 -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
zed.c zed: purge all mentions of a configuration file 2021-04-07 14:50:52 -07:00
zed.h zed: purge all mentions of a configuration file 2021-04-07 14:50:52 -07:00