I have few questions:
1. When default quota is set on system, how can we specify a user/group with no quota limit? No users/groups can have 0 quota limit if there is a non-zero default setting?
2. How to set default quota? Set quota to a special UID/GID or introduce a new quota command? (like Q_SET/GET_DEF_USR/GRP) The latter way needs client to support the new qc_cmd, but doesn't need to reserve special UID/GIDs for the default setting. Consequently, the default quota can be stored in the global index (former way) or a separate plain file (latter way).
3. How a user/group inherit the default quota setting? For instance, If a user/group has only soft limit, should he inherit the hard limit from default setting? Should the default limit be copied to the entry of other user/group in global index? What if the default value is changed?
4. How to notify quota slave when default quota is set/changed/cleared?
Probably we'd compose a brief design to address these concerns? Thank you.
Landed for 2.12