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