xref: /linux/fs/quota/Kconfig (revision c771600c6af14749609b49565ffb4cac2959710d)
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
9884d179dSJan Kara	help
10884d179dSJan Kara	  If you say Y here, you will be able to set per user limits for disk
11884d179dSJan Kara	  usage (also called disk quotas). Currently, it works for the
12*fb6f20ecSJan Kara	  ext2, ext3, ext4, f2fs, jfs and ocfs2 file systems. Note that gfs2
13*fb6f20ecSJan Kara	  and xfs use their own quota system. Ext3 and ext4 also support
14*fb6f20ecSJan Kara	  journaled quotas for which you don't need to run quotacheck(8) after
15*fb6f20ecSJan Kara	  an unclean shutdown. For further details, read the Quota mini-HOWTO,
16*fb6f20ecSJan Kara	  available from <https://www.tldp.org/docs.html#howto>, or the
17*fb6f20ecSJan Kara	  documentation provided with the quota tools. Probably the quota
18*fb6f20ecSJan Kara	  support is only useful for multi user systems. If unsure, say N.
19884d179dSJan Kara
20884d179dSJan Karaconfig QUOTA_NETLINK_INTERFACE
21884d179dSJan Kara	bool "Report quota messages through netlink interface"
2286e931a3SSteven Whitehouse	depends on QUOTACTL && NET
23884d179dSJan Kara	help
24884d179dSJan Kara	  If you say Y here, quota warnings (about exceeding softlimit, reaching
25884d179dSJan Kara	  hardlimit, etc.) will be reported through netlink interface. If unsure,
26884d179dSJan Kara	  say Y.
27884d179dSJan Kara
28884d179dSJan Karaconfig PRINT_QUOTA_WARNING
29884d179dSJan Kara	bool "Print quota warnings to console (OBSOLETE)"
3036d532d7SYangtao Li	depends on QUOTA && BROKEN
31884d179dSJan Kara	default y
32884d179dSJan Kara	help
33884d179dSJan Kara	  If you say Y here, quota warnings (about exceeding softlimit, reaching
34884d179dSJan Kara	  hardlimit, etc.) will be printed to the process' controlling terminal.
35884d179dSJan Kara	  Note that this behavior is currently deprecated and may go away in
36884d179dSJan Kara	  future. Please use notification via netlink socket instead.
37884d179dSJan Kara
3862af9b52SJan Karaconfig QUOTA_DEBUG
3962af9b52SJan Kara	bool "Additional quota sanity checks"
4062af9b52SJan Kara	depends on QUOTA
4162af9b52SJan Kara	default n
4262af9b52SJan Kara	help
4362af9b52SJan Kara	  If you say Y here, quota subsystem will perform some additional
4462af9b52SJan Kara	  sanity checks of quota internal structures. If unsure, say N.
4562af9b52SJan Kara
46620372a9SMatt LaPlante# Generic support for tree structured quota files. Selected when needed.
47884d179dSJan Karaconfig QUOTA_TREE
48884d179dSJan Kara	 tristate
49884d179dSJan Kara
50884d179dSJan Karaconfig QFMT_V1
51884d179dSJan Kara	tristate "Old quota format support"
52884d179dSJan Kara	depends on QUOTA
53884d179dSJan Kara	help
54884d179dSJan Kara	  This quota format was (is) used by kernels earlier than 2.4.22. If
55884d179dSJan Kara	  you have quota working and you don't want to convert to new quota
56884d179dSJan Kara	  format say Y here.
57884d179dSJan Kara
58884d179dSJan Karaconfig QFMT_V2
59498c6015SJan Kara	tristate "Quota format vfsv0 and vfsv1 support"
60884d179dSJan Kara	depends on QUOTA
61884d179dSJan Kara	select QUOTA_TREE
62884d179dSJan Kara	help
63498c6015SJan Kara	  This config option enables kernel support for vfsv0 and vfsv1 quota
64498c6015SJan Kara	  formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
65498c6015SJan Kara	  also supports 64-bit inode and block quota limits. If you need this
66498c6015SJan Kara	  functionality say Y here.
67884d179dSJan Kara
68884d179dSJan Karaconfig QUOTACTL
69884d179dSJan Kara	bool
7080f44b15SJan Kara	default n
71