On 1/5/14, 1:09 PM, Carlos E. R. wrote:
On 2014-01-05 17:24, Cristian Rodríguez wrote:
Hi:
In current kernel HEAD I have a btrfs crash on a filesystem that is 97% full..
That is perhaps similar to the problem I demonstrated by filling the partition up. There is a bugzilla about that since 13.1 RCx.
It might be. The problem here is not as simple as it may seem from the outset. We're able to reproduce it easily and Mark is working on a fix. The short version is that once an extent is allocated, *all* of the blocks within the extent need to be released before the extent is released. On a CoW file system with a lot of potential fragmentation, this can end up resulting in a lot of space accounted for as freed but not actually available for allocation. What needs to happen is that we need to break apart the extents when blocks are released. Unfortunately, that requires a disk format change since earlier releases won't do it. Disk format changes can take a while do get done. -Jeff -- Jeff Mahoney SUSE Labs