mirror_zfs/cmd/zpool
Brian Behlendorf 2288d41968
Add trim support to zpool wait
Manual trims fall into the category of long-running pool activities
which people might want to wait synchronously for. This change adds
support to 'zpool wait' for waiting for manual trim operations to
complete. It also adds a '-w' flag to 'zpool trim' which can be used to
turn 'zpool trim' into a synchronous operation.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Signed-off-by: John Gallagher <john.gallagher@delphix.com>
Closes #10071
2020-03-04 15:07:11 -08:00
..
os/linux OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zpool.d Make zpool.d/iostat work on FreeBSD 2020-02-14 08:37:40 -08:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zpool_iter.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zpool_main.c Add trim support to zpool wait 2020-03-04 15:07:11 -08:00
zpool_util.c OpenZFS restructuring - zpool 2019-09-30 12:16:06 -07:00
zpool_util.h Fix static data to link with -fno-common 2020-02-06 09:25:29 -08:00
zpool_vdev.c OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00