On Wed, Sep 15, 2010 at 07:10, David Nicol <davidni...@gmail.com> wrote: > Does the manpatch below describe an acceptable API for a hook to a > facility for waiting for the completion of deleted snapshot cleanup? ... > +\fBfilesystem GC\fR\fI <path> [ms] \fR > +wait for completion of salvage of deleted subvolumes on > +the filesystem identified by \fI<path>\fR. The optional > +timeout is in milliseconds. > +.TP
I'd suggest different wording for the manpage: filesystem GC <filesystem> [timeout_in_ms] Wait for btrfs to free any space that was used by deleted subvolumes in <filesystem>. If timeout_in_ms is specified, wait up to that many milliseconds, then exit with status 1 [or whatever code is chosen] if not all space could be freed in that time. Personally, I like "gc" or "clean". "wait-subvolume-deletion", "garbage-collect" or similar is too verbose for my taste. -- Josh -- 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