Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

quota: documentation for sending "below quota" messages via netlink and tiny doc update

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jan Kara and committed by
Linus Torvalds
866c3663 caff3a2c

+14 -8
+14 -8
Documentation/filesystems/quota.txt
··· 3 3 =============== 4 4 5 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 7 - with each file or directory) for users and/or groups. For both used space and 8 - number of used inodes there are actually two limits. The first one is called 9 - softlimit and the second one hardlimit. An user can never exceed a hardlimit 10 - for any resource. User is allowed to exceed softlimit but only for limited 11 - period of time. This period is called "grace period" or "grace time". When 12 - grace time is over, user is not able to allocate more space/inodes until he 13 - frees enough of them to get below softlimit. 6 + number of used inodes (inode is a filesystem structure which is associated with 7 + each file or directory) for users and/or groups. For both used space and number 8 + of used inodes there are actually two limits. The first one is called softlimit 9 + and the second one hardlimit. An user can never exceed a hardlimit for any 10 + resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed 11 + softlimit but only for limited period of time. This period is called "grace 12 + period" or "grace time". When grace time is over, user is not able to allocate 13 + more space/inodes until he frees enough of them to get below softlimit. 14 14 15 15 Quota limits (and amount of grace time) are set independently for each 16 16 filesystem. ··· 53 53 QUOTA_NL_BSOFTLONGWARN - space (block) softlimit is exceeded 54 54 longer than given grace period. 55 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 62 QUOTA_NL_A_DEV_MAJOR (u32) 57 63 - major number of a device with the affected filesystem 58 64 QUOTA_NL_A_DEV_MINOR (u32)