xref: /openbmc/linux/fs/quota/Kconfig (revision 93d90ad7)
1#
2#  Quota configuration
3#
4
5config QUOTA
6	bool "Quota support"
7	select QUOTACTL
8	help
9	  If you say Y here, you will be able to set per user limits for disk
10	  usage (also called disk quotas). Currently, it works for the
11	  ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems.
12	  Note that gfs2 and xfs use their own quota system.
13	  Ext3, ext4 and reiserfs also support journaled quotas for which
14	  you don't need to run quotacheck(8) after an unclean shutdown.
15	  For further details, read the Quota mini-HOWTO, available from
16	  <http://www.tldp.org/docs.html#howto>, or the documentation provided
17	  with the quota tools. Probably the quota support is only useful for
18	  multi user systems. If unsure, say N.
19
20config QUOTA_NETLINK_INTERFACE
21	bool "Report quota messages through netlink interface"
22	depends on QUOTACTL && NET
23	help
24	  If you say Y here, quota warnings (about exceeding softlimit, reaching
25	  hardlimit, etc.) will be reported through netlink interface. If unsure,
26	  say Y.
27
28config PRINT_QUOTA_WARNING
29	bool "Print quota warnings to console (OBSOLETE)"
30	depends on QUOTA
31	default y
32	help
33	  If you say Y here, quota warnings (about exceeding softlimit, reaching
34	  hardlimit, etc.) will be printed to the process' controlling terminal.
35	  Note that this behavior is currently deprecated and may go away in
36	  future. Please use notification via netlink socket instead.
37
38config QUOTA_DEBUG
39	bool "Additional quota sanity checks"
40	depends on QUOTA
41	default n
42	help
43	  If you say Y here, quota subsystem will perform some additional
44	  sanity checks of quota internal structures. If unsure, say N.
45
46# Generic support for tree structured quota files. Selected when needed.
47config QUOTA_TREE
48	 tristate
49
50config QFMT_V1
51	tristate "Old quota format support"
52	depends on QUOTA
53	help
54	  This quota format was (is) used by kernels earlier than 2.4.22. If
55	  you have quota working and you don't want to convert to new quota
56	  format say Y here.
57
58config QFMT_V2
59	tristate "Quota format vfsv0 and vfsv1 support"
60	depends on QUOTA
61	select QUOTA_TREE
62	help
63	  This config option enables kernel support for vfsv0 and vfsv1 quota
64	  formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
65	  also supports 64-bit inode and block quota limits. If you need this
66	  functionality say Y here.
67
68config QUOTACTL
69	bool
70	default n
71
72config QUOTACTL_COMPAT
73	bool
74	depends on QUOTACTL && COMPAT_FOR_U64_ALIGNMENT
75	default y
76