Bug 16066 - brtfs full at 85% usage
Summary: brtfs full at 85% usage
Status: RESOLVED OBSOLETE
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_btrfs@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 13:16 UTC by Brian J. Murrell
Modified: 2013-04-30 15:54 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.32.11
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Brian J. Murrell 2010-05-28 13:16:14 UTC
I'm using Ubuntu's 2.6.32-21-generic kernel and I created a 48GB btrfs filesystem to hold approx. 2M files.

The filesystem is at 85% full and returning ENOSPC when I try to create anything new on it.  I got a spew of messages in the kernel message buffer which I don't know are related, but I thought I would provide them anyway:

19:12:44 kernel [  721.973362] space_info has 8142848 free, is full
19:12:44 kernel [  721.973389] space_info total=3221225472, pinned=8335360, delalloc=0, may_use=0, used=3203059712, root=2875392, super=65536, reserved=1622016
19:12:44 kernel [  721.976174] space_info has 8142848 free, is full
19:12:44 kernel [  721.976195] space_info total=3221225472, pinned=8335360, delalloc=0, may_use=0, used=3203059712, root=2875392, super=65536, reserved=1622016
19:12:44 kernel [  721.976690] space_info has 8142848 free, is full
19:12:44 kernel [  721.976711] space_info total=3221225472, pinned=8335360, delalloc=0, may_use=0, used=3203059712, root=2875392, super=65536, reserved=1622016
19:12:44 kernel [  721.977454] space_info has 8142848 free, is full
19:12:44 kernel [  721.977479] space_info total=3221225472, pinned=8335360, delalloc=0, may_use=0, used=3203059712, root=2875392, super=65536, reserved=1622016
19:12:44 kernel [  721.978034] space_info has 8142848 free, is full
19:12:44 kernel [  721.978055] space_info total=3221225472, pinned=8335360, delalloc=0, may_use=0, used=3203059712, root=2875392, super=65536, reserved=1622016
19:12:44 kernel [  721.978549] space_info has 8142848 free, is full
19:12:44 kernel [  721.978570] space_info total=3221225472, pinned=8335360, delalloc=0, may_use=0, used=3203059712, root=2875392, super=65536, reserved=1622016
19:12:44 kernel [  721.979076] space_info has 8142848 free, is full
Comment 1 Chris Mason 2010-05-28 13:19:02 UTC
Later kernels are much more effective at filling the disk, especially the 2.6.34 kernel with the latest commits from the btrfs-unstable tree.

This is something that we are actively working on.
Comment 2 Josef Bacik 2013-04-30 15:54:48 UTC
Closing, if this is still affecting you on a newer kernel please reopen.

Note You need to log in before you can comment on or make changes to this bug.