Re: intermittent -ENOSPC errors on btrfs filesystem with 170G free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux