On Mon, Dec 28, 2015 at 7:29 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote: > On Mon, Dec 28, 2015 at 7:22 PM, Duncan <1i5t5.duncan@xxxxxxx> wrote: >> Chris Murphy posted on Mon, 28 Dec 2015 17:12:13 -0700 as excerpted: >> >>> Filed a bug: >>> https://bugzilla.kernel.org/show_bug.cgi?id=110111 >>> >>> The gist is that with a full USB stick, 'btrfs fi usage' reports: >>> >>> Free (estimated): 16.00EiB (min: 16.00EiB) >>> >>> Which is clearly wrong, but very exciting to imagine what such a thing >>> would look like! >> >> [After double-checking the bug report to ensure it was as I suspected, as >> the critical line wasn't included above.] >> >> ENOTIMPLEMENTED. See that "WARNING: MIXED blockgroups not handled" line >> at the top? =:^) > > Unrelated. When the mkfs is new and nothing is on the fs, I get this: > > Free (estimated): 7.44GiB (min: 7.44GiB) > > I'm not certain at what point the fs starts to report 16.00EiB but > it's not immediate. Looks like "fi usage" Used amount overestimates used by just over 2x compared to "fi df" reporting. Once the device is about 48% full, "fi usage" says it's full, and that's when free space shoots off to 16EiB probably because as you say mixedbg isn't supported, and what's probably happening is free space has gone negative, hence the 16EiB value. I'll update the bug. -- Chris Murphy -- 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
