Re: [bug] df returns 100% used for empty mixed block group filesystem

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

 



On Thu, Mar 10, 2016 at 01:33:34PM +0500, Roman Mamedov wrote:
> On Thu, 10 Mar 2016 01:24:44 -0700
> Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> 
> > kernel 4.5.0 rc7
> > btrfs-progs-4.4.1-1
> > 
> > Summary: A new empty mixed block group "-M" filesystem shows up as
> > 100% full with regular df (gnu coreutils 8.24). Pretty sure this is
> > not a regression, but no regression testing done.
> > 
> > 
> > https://bugzilla.kernel.org/show_bug.cgi?id=114281
> 
> Just guessing here, but this might be related?
> 
>   [PATCH] btrfs: statfs: report zero available if metadata are exhausted
>   http://www.spinics.net/lists/linux-btrfs/msg48013.html
> 
> Maybe some maths there are wrong in case of a mixed blockgroup filesystem.

Yes it's caused by the referenced patch.  The statfs has been broken for
mixed blockgroups but the 100% used on empty filesystem looks weird, so
it's time to fix the mixed-bg case.
--
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