From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Bacik Subject: Re: btrfs thinks its full Date: Wed, 19 Nov 2008 17:23:43 -0500 Message-ID: <20081119222343.GF16041@unused.rdu.redhat.com> References: <20081119222434.GA29942@tux64-01> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-btrfs@vger.kernel.org To: Lee Trager Return-path: In-Reply-To: <20081119222434.GA29942@tux64-01> List-ID: On Wed, Nov 19, 2008 at 05:24:34PM -0500, Lee Trager wrote: > Because the last bug I dealt with had so much to do with the disk being > full I decided to test and see what happens when I fill up the disk. > Unfortunatly the disk thinks its full before it actually is. I have a > 7539M btrfs partition and tried to fill it by doing > > dd if=/dev/zero of=/mnt/btrfs/fill > > btrfs reports its full after 6408M have been used. dd, ls, and df all > confirm this. This uses only 85% of the disk but I can not put one more > bit onto the partition. The only thing that shows up in my system logs > is "space info full 1." I am using the latest git sources. > Yup thats by design :). Theres a 85% full short-circuit in there to keep the panic unpleasentness from happening since there isn't proper ENOSPC handling. This will be tossed when the ENOSPC handling is done. Thanks, Josef