Update reclaim disk space script
commit0f9ed58f432a3eee2459b415be388a37280b885e
authorTino Reichardt <milky-zfs@mcmilk.de>
Wed, 1 Mar 2023 20:25:09 +0000 (1 21:25 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Mar 2023 20:25:09 +0000 (1 12:25 -0800)
tree9faeb2ce9c7284b8ab7c19f849faa9ea583ebd69
parent3a7c35119e5456b5d2eb54db18c331e201ef776c
Update reclaim disk space script

The script uses systemd-run, which does the job in background.
We should take the the time and wait for the job to finish.

Maybe some functional tests suffer from not really freed disk
space and fail because of this.

We also add some trimming in the end of the script.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #14554
.github/workflows/scripts/reclaim_disk_space.sh