diff options
Diffstat (limited to 'Documentation/filesystems/quota.txt')
| -rw-r--r-- | Documentation/filesystems/quota.txt | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Documentation/filesystems/quota.txt b/Documentation/filesystems/quota.txt index a590c4093eff..5e8de25bf0f1 100644 --- a/Documentation/filesystems/quota.txt +++ b/Documentation/filesystems/quota.txt | |||
| @@ -3,14 +3,14 @@ Quota subsystem | |||
| 3 | =============== | 3 | =============== |
| 4 | 4 | ||
| 5 | Quota subsystem allows system administrator to set limits on used space and | 5 | Quota subsystem allows system administrator to set limits on used space and |
| 6 | number of used inodes (inode is a filesystem structure which is associated | 6 | number of used inodes (inode is a filesystem structure which is associated with |
| 7 | with each file or directory) for users and/or groups. For both used space and | 7 | each file or directory) for users and/or groups. For both used space and number |
| 8 | number of used inodes there are actually two limits. The first one is called | 8 | of used inodes there are actually two limits. The first one is called softlimit |
| 9 | softlimit and the second one hardlimit. An user can never exceed a hardlimit | 9 | and the second one hardlimit. An user can never exceed a hardlimit for any |
| 10 | for any resource. User is allowed to exceed softlimit but only for limited | 10 | resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed |
| 11 | period of time. This period is called "grace period" or "grace time". When | 11 | softlimit but only for limited period of time. This period is called "grace |
| 12 | grace time is over, user is not able to allocate more space/inodes until he | 12 | period" or "grace time". When grace time is over, user is not able to allocate |
| 13 | frees enough of them to get below softlimit. | 13 | more space/inodes until he frees enough of them to get below softlimit. |
| 14 | 14 | ||
| 15 | Quota limits (and amount of grace time) are set independently for each | 15 | Quota limits (and amount of grace time) are set independently for each |
| 16 | filesystem. | 16 | filesystem. |
| @@ -53,6 +53,12 @@ in parentheses): | |||
| 53 | QUOTA_NL_BSOFTLONGWARN - space (block) softlimit is exceeded | 53 | QUOTA_NL_BSOFTLONGWARN - space (block) softlimit is exceeded |
| 54 | longer than given grace period. | 54 | longer than given grace period. |
| 55 | QUOTA_NL_BSOFTWARN - space (block) softlimit | 55 | QUOTA_NL_BSOFTWARN - space (block) softlimit |
| 56 | - four warnings are also defined for the event when user stops | ||
| 57 | exceeding some limit: | ||
| 58 | QUOTA_NL_IHARDBELOW - inode hardlimit | ||
| 59 | QUOTA_NL_ISOFTBELOW - inode softlimit | ||
| 60 | QUOTA_NL_BHARDBELOW - space (block) hardlimit | ||
| 61 | QUOTA_NL_BSOFTBELOW - space (block) softlimit | ||
| 56 | QUOTA_NL_A_DEV_MAJOR (u32) | 62 | QUOTA_NL_A_DEV_MAJOR (u32) |
| 57 | - major number of a device with the affected filesystem | 63 | - major number of a device with the affected filesystem |
| 58 | QUOTA_NL_A_DEV_MINOR (u32) | 64 | QUOTA_NL_A_DEV_MINOR (u32) |
