path: root/extent-tree.c
diff options
authorDavid Sterba <>2015-04-08 00:28:48 +0200
committerDavid Sterba <>2015-06-09 18:18:19 +0200
commitc9f885ec8963be55983caeeb63ff6cd71ded3f52 (patch)
tree18d674d942ed3aeeaf1186a3e54a8311a0e2356b /extent-tree.c
parentff36fbae4d4e6a18c43c0693fb16f0abfc411e32 (diff)
btrfs-progs: subvol: let sync check only current deletions
So far the subvol sync command takes a shortcut and looks if there are any deleted subvols at all. It does not print the deleted subvolumes as they get cleaned. Arguably this is what the user would like to see and has to do $ btrfs subvol sync /path $(btrfs subvol list -d /path | "extract the ids") to see the progress. Make it look for all currently deleted subvolumes automatically and print the progress as if the ids were listed manually. This is a slight change in the semantics of the command. Previously, any new subvol deletion would prevent subvol sync to return. To simulate the old behaviour, run 'subvol sync' in a loop until it returns 0. Signed-off-by: David Sterba <>
Diffstat (limited to 'extent-tree.c')
0 files changed, 0 insertions, 0 deletions