Following this email I'm sending a patch that modifies the statfs behaviour in cephfs kernel client so that, by default, it shows the quota statistics for the root directory instead of the overall filesystem usage. I'm sending this patch as an RFC because: * I'm not sure people really want to have this behaviour -- this is the default for the ceph-fuse client, so I just wanted to have a similar behaviour in the kernel client. * Showing quota usage by default may not be the correct option, although (again!) this is what the ceph-fuse client does. Anyway, there's also a new mount option ('noquotadf') to revert to the old statfs even if the root dir has max_bytes set. Just for reference, this statfs behaviour was added to the ceph-fuse client by commit b6d2b6d1a519 ("client: report root's quota in statfs"). Luis Henriques (1): quota: report root dir quota usage for statfs by default Documentation/filesystems/ceph.txt | 4 +++ fs/ceph/quota.c | 56 ++++++++++++++++++++++++++++++++++++++ fs/ceph/super.c | 22 +++++++++++++-- fs/ceph/super.h | 3 ++ 4 files changed, 82 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html