zfs/cmd/zed
наб d6a0cecab1 zed-functions.sh: zed_lock(): don't truncate lock
By appending instead of truncating, we can lock on any file (with write
permissions) instead of only dedicated lock files, since the locking
process itself no longer alters the file in any way

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12042
2021-06-09 13:06:05 -07:00
..
agents zed: set names for all threads 2021-04-14 13:19:48 -07:00
zed.d zed-functions.sh: zed_lock(): don't truncate lock 2021-06-09 13:06:05 -07:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-09 13:05:34 -07:00
zed.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_conf.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_conf.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_disk_event.c zed: set names for all threads 2021-04-14 13:19:48 -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 Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_event.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_exec.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_exec.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_file.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_file.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_log.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_log.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_strings.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_strings.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00