Project

General

Profile

CephFS quota support discussion » History » Version 1

Jessica Mack, 07/01/2015 10:51 PM

1 1 Jessica Mack
h1. CephFS quota support discussion
2
3
h3. Summary
4
5
This blueprint is come from http://wiki.ceph.com/Planning/Blueprints/Firefly/Cephfs_quota_support.
6
7
h3. Owners
8
9
* Yunchuan Wen (yunchuanwen@ubuntukylin.com)
10
* Name (Affiliation)
11
* Name
12
13
h3. Interested Parties
14
15
* Name (Affiliation)
16
* Name (Affiliation)
17
* Name
18
19
h3. Current Status
20
21
We have created a github pullrequest (https://github.com/ceph/ceph/pull/2241) for this feature.
22
23
h3. Detailed Description
24
25
1. The quota information will be bound to directory in the namespace tree.
26
2. A file/directory could have multiple quota limit by its parent and ancestor directory.
27
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.
28
4. The MDS will be use to store quota information in directory's inode_t and push the rstat to client more active.
29
30
h3. Work items
31
32
h4. Coding tasks
33
34
# Task 1
35
# Task 2
36
# Task 3
37
 
38
h4. Build / release tasks
39
40
# Task 1
41
# Task 2
42
# Task 3
43
44
h4. Documentation tasks
45
46
# Task 1
47
# Task 2
48
# Task 3
49
50
h4. Deprecation tasks
51
52
# Task 1
53
# Task 2
54
# Task 3