From: Sage Weil Date: Fri, 22 Feb 2013 23:31:00 +0000 (-0800) Subject: ceph: fix statvfs fr_size X-Git-Tag: v3.2.49~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae804ee7b70be863320e0f5c70e8e59410d23cd1;p=pandora-kernel.git 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 Reviewed-by: Greg Farnum Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed