Home
last modified time | relevance | path

Searched hist:"92 a49fb0f79f3300e6e50ddf56238e70678e4202" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ceph/
H A Dsuper.cdiff 92a49fb0f79f3300e6e50ddf56238e70678e4202 Sat Feb 23 00:31:00 CET 2013 Sage Weil <sage@inktank.com> ceph: fix statvfs fr_size

Different versions of glibc are broken in different ways, but the short of
it is that for the time being, frsize should == bsize, and be used as the
multiple for the blocks, free, and available fields. This mirrors what is
done for NFS. The previous reporting of the page size for frsize meant
that newer glibc and df would report a very small value for the fs size.

Fixes http://tracker.ceph.com/issues/3793.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
H A Dsuper.hdiff 92a49fb0f79f3300e6e50ddf56238e70678e4202 Sat Feb 23 00:31:00 CET 2013 Sage Weil <sage@inktank.com> ceph: fix statvfs fr_size

Different versions of glibc are broken in different ways, but the short of
it is that for the time being, frsize should == bsize, and be used as the
multiple for the blocks, free, and available fields. This mirrors what is
done for NFS. The previous reporting of the page size for frsize meant
that newer glibc and df would report a very small value for the fs size.

Fixes http://tracker.ceph.com/issues/3793.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>