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