aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-02-22 15:31:00 -0800
committerBen Hutchings <ben@decadent.org.uk>2013-07-27 05:34:32 +0100
commitae804ee7b70be863320e0f5c70e8e59410d23cd1 (patch)
treec1949f4461db8d2a221e414fc273107ff796d967 /include
parenta7aa204def549434aa80457926bc49300b18b181 (diff)
ceph: fix statvfs fr_size
commit 92a49fb0f79f3300e6e50ddf56238e70678e4202 upstream. 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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions