diff options
author | Sage Weil <sage@inktank.com> | 2013-02-22 15:31:00 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-20 11:28:21 -0700 |
commit | 088d9d4d782d66941fc9e29ff4eb0dd72f84493b (patch) | |
tree | dc078140831bf5d1d9bcec8ea3a1c008bbbb62dc /kernel/latencytop.c | |
parent | 0ffdfdbe55c84906dd65627f069619bec54e5422 (diff) | |
download | lwn-088d9d4d782d66941fc9e29ff4eb0dd72f84493b.tar.gz lwn-088d9d4d782d66941fc9e29ff4eb0dd72f84493b.zip |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions