On Tue, Oct 06, 2015 at 10:25:52AM +0200, David Sterba wrote: > On Thu, Oct 01, 2015 at 02:30:47PM -0700, Mark Fasheh wrote: > > At the moment, userspace has no way of knowing when a snapshot is finally > > removed. This has become a problem when writing tests for btrfs, > > > > http://article.gmane.org/gmane.comp.file-systems.fstests/1239/ > > In the meantime the command 'btrfs subvolume sync /path id' has been > implemented which does what you need, without the new ioctl.
Ahh ok I didn't see that I'll take a look, thanks. > > Also, you can query root_item::drop_progress directly through the > SEARCH_TREE ioctl as well. Yeah I realized this after I sent the patch but it seems like we don't need either approach now if I can just wait with 'subvolume sync' --Mark -- Mark Fasheh -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html