blob: b59cd172b5f97c8958db42abe91a1180e22d3bfa [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Jan Kara884d1792009-01-26 15:28:09 +01002#
3# Quota configuration
4#
5
6config QUOTA
7 bool "Quota support"
Jan Kara80f44b12010-08-17 12:14:44 +02008 select QUOTACTL
Pranith Kumar83fe27e2014-12-05 11:24:45 -05009 select SRCU
Jan Kara884d1792009-01-26 15:28:09 +010010 help
11 If you say Y here, you will be able to set per user limits for disk
12 usage (also called disk quotas). Currently, it works for the
Fabian Frederickcbcf27a2014-03-04 08:11:07 +080013 ext2, ext3, ext4, jfs, ocfs2 and reiserfs file systems.
14 Note that gfs2 and xfs use their own quota system.
15 Ext3, ext4 and reiserfs also support journaled quotas for which
16 you don't need to run quotacheck(8) after an unclean shutdown.
Jan Kara884d1792009-01-26 15:28:09 +010017 For further details, read the Quota mini-HOWTO, available from
Alexander A. Klimov1f1a5be2020-07-08 19:19:05 +020018 <https://www.tldp.org/docs.html#howto>, or the documentation provided
Jan Kara884d1792009-01-26 15:28:09 +010019 with the quota tools. Probably the quota support is only useful for
20 multi user systems. If unsure, say N.
21
22config QUOTA_NETLINK_INTERFACE
23 bool "Report quota messages through netlink interface"
Steven Whitehouse86e931a2009-09-28 12:35:17 +010024 depends on QUOTACTL && NET
Jan Kara884d1792009-01-26 15:28:09 +010025 help
26 If you say Y here, quota warnings (about exceeding softlimit, reaching
27 hardlimit, etc.) will be reported through netlink interface. If unsure,
28 say Y.
29
30config PRINT_QUOTA_WARNING
31 bool "Print quota warnings to console (OBSOLETE)"
32 depends on QUOTA
33 default y
34 help
35 If you say Y here, quota warnings (about exceeding softlimit, reaching
36 hardlimit, etc.) will be printed to the process' controlling terminal.
37 Note that this behavior is currently deprecated and may go away in
38 future. Please use notification via netlink socket instead.
39
Jan Kara62af9b52010-04-19 16:47:20 +020040config QUOTA_DEBUG
41 bool "Additional quota sanity checks"
42 depends on QUOTA
43 default n
44 help
45 If you say Y here, quota subsystem will perform some additional
46 sanity checks of quota internal structures. If unsure, say N.
47
Matt LaPlante620372a2009-02-10 14:50:34 +010048# Generic support for tree structured quota files. Selected when needed.
Jan Kara884d1792009-01-26 15:28:09 +010049config QUOTA_TREE
50 tristate
51
52config QFMT_V1
53 tristate "Old quota format support"
54 depends on QUOTA
55 help
56 This quota format was (is) used by kernels earlier than 2.4.22. If
57 you have quota working and you don't want to convert to new quota
58 format say Y here.
59
60config QFMT_V2
Jan Kara498c6012009-11-16 18:09:47 +010061 tristate "Quota format vfsv0 and vfsv1 support"
Jan Kara884d1792009-01-26 15:28:09 +010062 depends on QUOTA
63 select QUOTA_TREE
64 help
Jan Kara498c6012009-11-16 18:09:47 +010065 This config option enables kernel support for vfsv0 and vfsv1 quota
66 formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
67 also supports 64-bit inode and block quota limits. If you need this
68 functionality say Y here.
Jan Kara884d1792009-01-26 15:28:09 +010069
70config QUOTACTL
71 bool
Jan Kara80f44b12010-08-17 12:14:44 +020072 default n