summaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-02-22 23:31:00 (GMT)
committerSage Weil <sage@inktank.com>2013-02-22 23:31:00 (GMT)
commit92a49fb0f79f3300e6e50ddf56238e70678e4202 (patch)
treef411b004dd4f67356621a6bde80c23c089700f0f /lib/parser.c
parent4c7a08c83a7842e88838dde16684d6bafffdfaf0 (diff)
downloadlinux-92a49fb0f79f3300e6e50ddf56238e70678e4202.tar.xz
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>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions