]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: kill QuotaTree 10107/head
authorYan, Zheng <zyan@redhat.com>
Wed, 8 Jun 2016 09:47:58 +0000 (17:47 +0800)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Sat, 2 Jul 2016 07:49:24 +0000 (00:49 -0700)
commit54b6b5e42bca2b7f05b9ff77315de61d3ba14daf
tree2bc960b8da2204102f4aa30beb29176efb9ab74c
parentaa211cb4ff0a7e9cac4779187848b3ba00c39bf9
client: kill QuotaTree

Multiple clients can modify cephfs at the same time. It is
very tricky to keep QuotaTree consistant with the global FS
hiberarchy. This patch kills the quota tree.

After removing the quota tree, we traverse inode's path to
find quota root.

Fixes: http://tracker.ceph.com/issues/16066
Fixes: http://tracker.ceph.com/issues/16067
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 161954bbfeb13d5588668637d5258221948128ea)
src/client/Client.cc
src/client/Client.h
src/client/Inode.h