CephFS quota support discussion¶
Summary¶
This blueprint is come from http://wiki.ceph.com/Planning/Blueprints/Firefly/Cephfs_quota_support.
Owners¶
- Yunchuan Wen (yunchuanwen@ubuntukylin.com)
- Name (Affiliation)
- Name
Interested Parties¶
- Name (Affiliation)
- Name (Affiliation)
- Name
Current Status¶
We have created a github pullrequest (https://github.com/ceph/ceph/pull/2241) for this feature.
Detailed Description¶
1. The quota information will be bound to directory in the namespace tree.
2. A file/directory could have multiple quota limit by its parent and ancestor directory.
3. When application create a file or directory or expand the file size, the client will find all the ancestor directory which have be bound a quota information, and compare the directory's quota and rstat. If quota is excceded, routine will return -EDQUOT.
4. The MDS will be use to store quota information in directory's inode_t and push the rstat to client more active.
Work items¶
Coding tasks¶
- Task 1
- Task 2
- Task 3
Build / release tasks¶
- Task 1
- Task 2
- Task 3
Documentation tasks¶
- Task 1
- Task 2
- Task 3
Deprecation tasks¶
- Task 1
- Task 2
- Task 3