Re: Difference in statvfs(2) block count with ext2 and very recent Linux 3.2.0 kernels

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

 



On Wed, Nov 16, 2011 at 10:33:19AM -0600, Eric Sandeen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/16/11 3:54 AM, Richard W.M. Jones wrote:
> > 
> > Hi,
> > 
> > We do some automated testing of the kernel and ext2/3/4 filesystems,
> > and noticed that the block count returned by statvfs(2) for plain
> > *ext2* filesystems has changed with the latest 3.2.0rc1 kernel.
> > 
> > This is probably just because of more accurate block accounting, but I
> > just wanted to check that it isn't a bug.
> > 
> > This posting contains the numbers and a reproducer:
> > 
> >   https://www.redhat.com/archives/libguestfs/2011-November/msg00051.html
> > 
> > Rich.
> > 
> 
> Note that it is a plain *ext2* filesystem run through the *ext4* driver,
> in Fedora,

Correct!  We're using CONFIG_EXT4_USE_FOR_EXT23=y.

> and it was tracked down to commit f975d6bcc7a698a10cc755115e27d3612dcfe322
> ext4: teach ext4_statfs() to deal with clusters if bigalloc is enabled
> according to the above post...

Well, that's what I thought looked likely.  However I didn't bisect
this, so it could be another commit to blame ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux