On Tue, 2015-05-26 at 12:18 -0600, Chris Murphy wrote: > Oh yeah easy to miss, but obvious once pointed out: > > > Data, single: total=227.94GiB, used=58.16GiB > > I thought we had automatic deallocation of unused chunks but I guess > it hasn't landed yet. We do have automatic deallocation of unused chunks. (I know it's in 4.0, dunno about earlier versions.) Unfortunately, this only deallocates *completely* unused chunks - if you're e.g. writing a bunch of small files and large files at the same time, then delete the large files, you could end up with a bunch of data chunks that are mostly, but not completely, empty: they still have the small files hanging around. In this case a balance is still necessary to clean things up. -- Calvin Walton <calvin.walton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
