]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add trim_finish notify script for ZED
authorKevin P. Fleming <kpfleming@users.noreply.github.com>
Wed, 24 Jun 2020 23:57:13 +0000 (19:57 -0400)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2020 23:57:13 +0000 (16:57 -0700)
commitf21de6883fa53b83c065aaa1aca7122afafb3c90
tree882ae8d320eaffdbb0082aa1e883084985b0707b
parent9192f27c1d7a8cb367d8691277573f2b756b47b6
Add trim_finish notify script for ZED

Allow users to configure notifications when TRIM operations are
completed on pools. Unlike resilver_finish and scrub_finish,
the trim_finish event is generated for each vdev in the pool
which was trimmed, so the script will generate a notification
for each one.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
Closes #10491
cmd/zed/zed.d/Makefile.am
cmd/zed/zed.d/trim_finish-notify.sh [new file with mode: 0755]