1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2884d179dSJan Kara# 3884d179dSJan Kara# Quota configuration 4884d179dSJan Kara# 5884d179dSJan Kara 6884d179dSJan Karaconfig QUOTA 7884d179dSJan Kara bool "Quota support" 880f44b15SJan Kara select QUOTACTL 983fe27eaSPranith Kumar select SRCU 10884d179dSJan Kara help 11884d179dSJan Kara If you say Y here, you will be able to set per user limits for disk 12884d179dSJan Kara usage (also called disk quotas). Currently, it works for the 13cbcf27a9SFabian Frederick ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems. 14cbcf27a9SFabian Frederick Note that gfs2 and xfs use their own quota system. 15cbcf27a9SFabian Frederick Ext3, ext4 and reiserfs also support journaled quotas for which 16cbcf27a9SFabian Frederick you don't need to run quotacheck(8) after an unclean shutdown. 17884d179dSJan Kara For further details, read the Quota mini-HOWTO, available from 18884d179dSJan Kara <http://www.tldp.org/docs.html#howto>, or the documentation provided 19884d179dSJan Kara with the quota tools. Probably the quota support is only useful for 20884d179dSJan Kara multi user systems. If unsure, say N. 21884d179dSJan Kara 22884d179dSJan Karaconfig QUOTA_NETLINK_INTERFACE 23884d179dSJan Kara bool "Report quota messages through netlink interface" 2486e931a3SSteven Whitehouse depends on QUOTACTL && NET 25884d179dSJan Kara help 26884d179dSJan Kara If you say Y here, quota warnings (about exceeding softlimit, reaching 27884d179dSJan Kara hardlimit, etc.) will be reported through netlink interface. If unsure, 28884d179dSJan Kara say Y. 29884d179dSJan Kara 30884d179dSJan Karaconfig PRINT_QUOTA_WARNING 31884d179dSJan Kara bool "Print quota warnings to console (OBSOLETE)" 32884d179dSJan Kara depends on QUOTA 33884d179dSJan Kara default y 34884d179dSJan Kara help 35884d179dSJan Kara If you say Y here, quota warnings (about exceeding softlimit, reaching 36884d179dSJan Kara hardlimit, etc.) will be printed to the process' controlling terminal. 37884d179dSJan Kara Note that this behavior is currently deprecated and may go away in 38884d179dSJan Kara future. Please use notification via netlink socket instead. 39884d179dSJan Kara 4062af9b52SJan Karaconfig QUOTA_DEBUG 4162af9b52SJan Kara bool "Additional quota sanity checks" 4262af9b52SJan Kara depends on QUOTA 4362af9b52SJan Kara default n 4462af9b52SJan Kara help 4562af9b52SJan Kara If you say Y here, quota subsystem will perform some additional 4662af9b52SJan Kara sanity checks of quota internal structures. If unsure, say N. 4762af9b52SJan Kara 48620372a9SMatt LaPlante# Generic support for tree structured quota files. Selected when needed. 49884d179dSJan Karaconfig QUOTA_TREE 50884d179dSJan Kara tristate 51884d179dSJan Kara 52884d179dSJan Karaconfig QFMT_V1 53884d179dSJan Kara tristate "Old quota format support" 54884d179dSJan Kara depends on QUOTA 55884d179dSJan Kara help 56884d179dSJan Kara This quota format was (is) used by kernels earlier than 2.4.22. If 57884d179dSJan Kara you have quota working and you don't want to convert to new quota 58884d179dSJan Kara format say Y here. 59884d179dSJan Kara 60884d179dSJan Karaconfig QFMT_V2 61498c6015SJan Kara tristate "Quota format vfsv0 and vfsv1 support" 62884d179dSJan Kara depends on QUOTA 63884d179dSJan Kara select QUOTA_TREE 64884d179dSJan Kara help 65498c6015SJan Kara This config option enables kernel support for vfsv0 and vfsv1 quota 66498c6015SJan Kara formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format 67498c6015SJan Kara also supports 64-bit inode and block quota limits. If you need this 68498c6015SJan Kara functionality say Y here. 69884d179dSJan Kara 70884d179dSJan Karaconfig QUOTACTL 71884d179dSJan Kara bool 7280f44b15SJan Kara default n 735582c76fSChristoph Hellwig 745582c76fSChristoph Hellwigconfig QUOTACTL_COMPAT 755582c76fSChristoph Hellwig bool 765582c76fSChristoph Hellwig depends on QUOTACTL && COMPAT_FOR_U64_ALIGNMENT 775582c76fSChristoph Hellwig default y 78