From 2288d4196821ae4b5fa375e8e519f6e83f26abad Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 4 Mar 2020 15:07:11 -0800 Subject: 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 Reviewed-by: Serapheim Dimitropoulos Signed-off-by: John Gallagher Closes #10071 --- man/man8/zpool-wait.8 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'man/man8/zpool-wait.8') diff --git a/man/man8/zpool-wait.8 b/man/man8/zpool-wait.8 index 51a27a5a2..f035e3e7f 100644 --- a/man/man8/zpool-wait.8 +++ b/man/man8/zpool-wait.8 @@ -27,7 +27,7 @@ .\" Copyright 2017 Nexenta Systems, Inc. .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. .\" -.Dd August 9, 2019 +.Dd February 25, 2020 .Dt ZPOOL-WAIT 8 .Os Linux .Sh NAME @@ -73,6 +73,7 @@ along with what each one waits for: remove Device removal to cease resilver Resilver to cease scrub Scrub to cease + trim Manual trim to cease .Ed .Pp If an @@ -109,4 +110,5 @@ See .Xr zpool-replace 8 , .Xr zpool-remove 8 , .Xr zpool-resilver 8 , -.Xr zpool-scrub 8 +.Xr zpool-scrub 8 , +.Xr zpool-trim 8 -- cgit v1.2.3