Skip to content

Commit

Permalink
quota: Allow to separately enable quota accounting and enforcing limits
Browse files Browse the repository at this point in the history
Split DQUOT_USR_ENABLED (and DQUOT_GRP_ENABLED) into DQUOT_USR_USAGE_ENABLED
and DQUOT_USR_LIMITS_ENABLED. This way we are able to separately enable /
disable whether we should:
1) ignore quotas completely
2) just keep uptodate information about usage
3) actually enforce quota limits

This is going to be useful when quota is treated as filesystem metadata - we
then want to keep quota information uptodate all the time and just enable /
disable limits enforcement.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
  • Loading branch information
Jan Kara authored and Mark Fasheh committed Jan 5, 2009
1 parent e4bc7b4 commit f55abc0
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 112 deletions.
Loading

0 comments on commit f55abc0

Please sign in to comment.