On Mon, Mar 11, 2013 at 12:11:43PM +0600, Roman Mamedov wrote:
> On Sun, 10 Mar 2013 22:31:08 -0700
> Michael Johnson - MJ <m...@revmj.com> wrote:
> 
> > What I now suspect is going on is that while deleting the snapshots
> > was quick, that probably kicks of a background thread which actually
> > does the heavy lifting.
> 
> Exactly that, the snapshot deletion only "syncs" on unmount, there is no
> other way to ensure it is complete.
> 
> If you have some patience and let it unmount properly and then remount it, you
> may find that you have gained much more free space, due to all the snapshots
> being actually deleted and the space they were occupying freed only just now.

A recent commit(commit fa6ac8765c48a06dfed914e8c8c3a903f9d313a0
Btrfs: fix cleaner thread not working with inode cache option)
may improve the situation.

You may want to try it.

thanks,
liubo
--
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

Reply via email to