]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: report root's quota in statfs 8747/head
authorJohn Spray <john.spray@redhat.com>
Wed, 11 May 2016 12:18:23 +0000 (13:18 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 17 May 2016 12:08:13 +0000 (13:08 +0100)
commitb6d2b6d1a51969c210ae75fef93c71ac21f511a6
treef8683c8832deb6c789d70030f266d72e4d58d61c
parent30af2cd071c91be1877ce226470af4f87dd4b358
client: report root's quota in statfs

When user is mounted a quota-restricted inode
as the root, report that inode's quota status
as the filesystem statistics in statfs.

This allows us to have a fairly convincing illusion
that someone has a filesystem to themselves, when
they're really mounting a restricted part of
the larger global filesystem.

Fixes: http://tracker.ceph.com/issues/15599
Signed-off-by: John Spray <john.spray@redhat.com>
doc/cephfs/client-auth.rst
src/client/Client.cc
src/common/config_opts.h