android_kernel_google_msm/fs/ceph
Sage Weil 999899ad58 ceph: fix statvfs fr_size
commit 92a49fb0f7 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>
2013-06-20 11:58:47 -07:00
..
addr.c libceph: Unlock unprocessed pages in start_read() error path 2013-01-17 08:51:21 -08:00
caps.c ceph: call handle_cap_grant() for cap import message 2013-01-17 08:51:21 -08:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
dir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2012-02-02 15:47:33 -08:00
export.c tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking 2012-10-21 09:27:57 -07:00
file.c ceph: propagate layout error on osd request creation 2013-01-17 08:51:18 -08:00
inode.c ceph: Fix __ceph_do_pending_vmtruncate 2013-01-17 08:51:21 -08:00
ioctl.c ceph: use i_ceph_lock instead of i_lock 2011-12-07 10:46:44 -08:00
ioctl.h ceph: document ioctls 2011-10-25 16:10:15 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: ceph_pagelist_append might sleep while atomic 2013-06-20 11:58:43 -07:00
Makefile ceph: Makefile: Remove unnessary code 2011-01-12 15:15:13 -08:00
mds_client.c libceph: wrap auth ops in wrapper functions 2013-06-20 11:58:47 -07:00
mds_client.h ceph: define ceph_auth_handshake type 2012-11-26 11:38:07 -08:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: fix overflow check in build_snap_context() 2012-03-22 10:47:45 -05:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c ceph: fix statvfs fr_size 2013-06-20 11:58:47 -07:00
super.h ceph: fix statvfs fr_size 2013-06-20 11:58:47 -07:00
xattr.c ceph: fix three bugs, two in ceph_vxattrcb_file_layout() 2012-03-22 10:47:52 -05:00