summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-07-23 22:56:13 +0200
committerDavid Sterba <dsterba@suse.cz>2014-10-10 09:32:05 +0200
commit6420192e870cedb3f43dac2095ce9fd7729a63e3 (patch)
tree31a6d9a6760b0c17298da2673c8370c6e4c8b52f /Documentation
parenta1a3dc7fd4fb7ab0abb1269d030d85e385fc8038 (diff)
btrfs-progs: wait until all subvolumes are cleaned
Enhance the 'subvolume' subcommand to wait until a given list of subvolumes or all currently scheduled for deletion are cleaned completely from the filesystem. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/btrfs-subvolume.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/btrfs-subvolume.txt b/Documentation/btrfs-subvolume.txt
index 231f487f..1360aba8 100644
--- a/Documentation/btrfs-subvolume.txt
+++ b/Documentation/btrfs-subvolume.txt
@@ -153,6 +153,17 @@ List the recently modified files in a subvolume, after <last_gen> ID.
*show* <path>::
Show information of a given subvolume in the <path>.
+*sync* <path> [subvolid...]::
+Wait until given subvolume(s) are completely removed from the filesystem
+after deletion. If no subvolume id is given, wait until all ongoing deletion
+requests are complete. This may take long if new deleted subvolumes appear
+during the sleep interval.
++
+`Options`
++
+-s <N>::::
+sleep N seconds between checks (default: 1)
+
EXIT STATUS
-----------
*btrfs subvolume* returns a zero exit status if it succeeds. Non zero is