ceph: Add quota feature flags

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
ceph: Add quota_info_t to store quota info

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
test: add test case for quota_info_t

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
mds: Add quota field to inode_t

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
mds: Handle quota update

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
ceph: Add MClientQuota message type

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
ceph: Add MGatherCaps message type

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
mds: Push quota info to client by MClientReply

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
mds: Export cap to auth mds when mds handle MGatherCaps

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
mds: Add broadcast_quota_to_client routine

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
mds: Push new rstat and quota info to client

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Add class QuotaTree type

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Add quota field to Inode

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Get root's parents inode when mount -r used

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Add quota config to config_opts.h

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Add QuotaTree functions

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Handle getxattr to show quota information

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Update qtree when fs tree changed

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
client: Handle MClientQuota to update quota information

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
client: Add helper for quota check

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>