Displaying 20 results from an estimated 23 matches for "maxquota".
Did you mean:
maxquotas
2009 Jan 12
5
[PATCH 0/5] OCFS2 quota fixes
Hello,
the following series of patches fixes some issues with OCFS2 quotas.
The first patch modifies VFS quota locking, the next patch uses the
fact to simplify OCFS2 quota locking and solves a few deadlock issues.
The third and the fourth patches fix another possible deadlocks in OCFS2
quota code and the last patch is a minor cleanup.
Honza
2005 Mar 25
1
[PATCH] kfree() NULL pointer cleanups - no need to check - fs/ext3/
....c 2005-03-25 15:28:59.000000000 +0100
+++ linux-2.6.12-rc1-mm3/fs/ext3/super.c 2005-03-25 22:42:53.000000000 +0100
@@ -395,10 +395,8 @@ static void ext3_put_super (struct super
percpu_counter_destroy(&sbi->s_dirs_counter);
brelse(sbi->s_sbh);
#ifdef CONFIG_QUOTA
- for (i = 0; i < MAXQUOTAS; i++) {
- if (sbi->s_qf_names[i])
- kfree(sbi->s_qf_names[i]);
- }
+ for (i = 0; i < MAXQUOTAS; i++)
+ kfree(sbi->s_qf_names[i]);
#endif
/* Debugging code just in case the in-memory inode orphan list
@@ -883,10 +881,8 @@ clear_qf_name:
"quota turned on.\n");...
2008 Nov 06
0
[Postfixadmin-devel] Quota not working ?
...>>
>>
>> in the postfixadmin config for quota is this =
>>
>> // Default Domain Values
>> // Specify your default values below. Quota in MB.
>> $CONF['aliases'] = '15';
>> $CONF['mailboxes'] = '15';
>> $CONF['maxquota'] = '15';
>>
>> // Quota
>> // When you want to enforce quota for your mailbox users set this to 'YES'.
>> $CONF['quota'] = 'YES';
>> // You can either use '1024000' or '1048576'
>> $CONF['quota_multiplier...
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi,
This is the second batch of Ocfs2 patches intended for the merge window. The
1st batch were sent out previously:
http://lkml.org/lkml/2008/12/19/280
The bulk of this set is comprised of Jan Kara's patches to add quota support
to Ocfs2. Many of the quota patches are to generic code, which I carried to
make merging of the Ocfs2 support easier. All of the non-ocfs2 patches
should have
2009 Feb 26
1
[PATCH 0/7] OCFS2 locking fixes and lockdep annotations
Hi,
the first four patches in this series fix locking problems in OCFS2 quota code (three of
them can lead to potential deadlocks). The fifth patch reorders ip_alloc_sem for directories
to be acquired before localalloc locks. Mark would you please merge these?
The last two patches implement lockdep annotations for OCFS2 cluster locks. We annotate all
the cluster locks except for special ones
2018 Nov 15
2
Quota in MySql Dict not recalculate automatic
...ERE username = '%Lu' AND active = '1'
user_query = \
SELECT '/var/vmail/%Ld/%Ln' as home, \
'maildir:/var/vmail/%Ld/%Ln' as mail, \
5000 AS uid, \
5000 AS gid, \
concat('*:bytes=', \
if(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) \
as quota_rule \
FROM mailbox, domain \
WHERE username = '%Lu' AND mailbox.active = '1' AND \
domain.domain = '%d' AND domain.active = '1'
iterate_query = SELECT username as user FROM mailbox WHERE active = '1'...
2015 Oct 17
2
More information about - Dovecot 2.2.x quota mysql and dict
...T username, domain, password \
FROM mailbox WHERE username = '%u' and domain = '%d' and active='1' \
user_query = SELECT '/var/spool/mail/%d/%u' AS home, \
'maildir:/var/spool/mail/%d/%u' AS mail, 1983 AS uid, 1983 AS gid, \
CONCAT('*:bytes=', domain.maxquota*1048576) AS quota_rule, \
CONCAT('*:bytes=', mailbox.quota) AS quota2_rule \
FROM mailbox, domain WHERE username = '%u' AND mailbox.active = '1' \
AND domain.domain = '%d' AND domain.active = '1'
-------------------------------------------------------------...
2018 Aug 16
2
Does domain quota work and how?
...at single users can "fill" the whole domain (group) quota.
I found one particular example where they say the dict quota works
different, e.g. it's an either/or. They give this example for the
user_query (the relevant part):
CONCAT('*:bytes=', \
IF(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) \
as quota_rule
So, this works as a default domain quota that is overridden on a user by
user basis. But this means that a user quota that is set cannot honor the
domain quota. So, in theory all users together can reach a maximum quota
that is way over the domain quota....
2018 Nov 16
3
Antwort: Re: Quota in MySql Dict not recalculate automatic
...tive = '1'
> user_query = \
> SELECT '/var/vmail/%Ld/%Ln' as home, \
> 'maildir:/var/vmail/%Ld/%Ln' as mail, \
> 5000 AS uid, \
> 5000 AS gid, \
> concat('*:bytes=', \
> if(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota))
\
> as quota_rule \
> FROM mailbox, domain \
> WHERE username = '%Lu' AND mailbox.active = '1' AND \
> domain.domain = '%d' AND domain.active = '1'
> iterate_query = SELECT username as user FROM mailbox WHE...
2018 Aug 16
0
Does domain quota work and how?
...; the whole domain (group) quota.
>
> I found one particular example where they say the dict quota works
> different, e.g. it's an either/or. They give this example for the
> user_query (the relevant part):
>
> CONCAT('*:bytes=', \
> IF(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) \
> as quota_rule
>
> So, this works as a default domain quota that is overridden on a user by
> user basis. But this means that a user quota that is set cannot honor the
> domain quota. So, in theory all users together can reach a maximum quota
> that...
2018 Nov 15
0
Quota in MySql Dict not recalculate automatic
...tive = '1'
> user_query = \
> SELECT '/var/vmail/%Ld/%Ln' as home, \
> 'maildir:/var/vmail/%Ld/%Ln' as mail, \
> 5000 AS uid, \
> 5000 AS gid, \
> concat('*:bytes=', \
> if(mailbox.quota = 0, domain.maxquota*1024000, mailbox.quota)) \
> as quota_rule \
> FROM mailbox, domain \
> WHERE username = '%Lu' AND mailbox.active = '1' AND \
> domain.domain = '%d' AND domain.active = '1'
> iterate_query = SELECT username as user FROM mailbox WHE...
2009 Jun 02
10
[PATCH 0/7] [RESEND] Fix some deadlocks in quota code and implement lockdep for cluster locks
Hi,
I'm resending this patch series. It's rediffed against linux-next branch of
Joel's git tree. The first four patches are obvious fixes of deadlocks in quota
code and should go in as soon as possible. The other three patches implement
lockdep support for OCFS2 cluster locks. So you can have a look whether the
code make sence to you and possibly merge them. They should be NOP when
2006 May 10
4
LDA not being called by postfix?
Hello,
I'm using Postfix with virtual domains (MySQL), Dovecot 1.0beta7 and CVS
LDA. I've set up postfix to use the LDA for maildir delivery and defined
a global sieve script.
-- master.cf --
...
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -d
${recipient}
...
-- main.cf --
smtpd_banner =
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi,
below comes a new version of the series of patches implementing quota support
for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given
number of bytes instead of number of blocks. Besides that the series should be
the same.
Honza
2018 Nov 16
0
Antwort: Re: Quota in MySql Dict not recalculate automatic
...uery = \
> > ? SELECT '/var/vmail/%Ld/%Ln' as home, \
> > ? ? ? ? ?'maildir:/var/vmail/%Ld/%Ln' as mail, \
> > ? ? ? ? ?5000 AS uid, \
> > ? ? ? ? ?5000 AS gid, \
> > ? ? ? ? ?concat('*:bytes=', \
> > ? ? ? ? ? if(mailbox.quota = 0, domain.maxquota*1024000,
> mailbox.quota)) \
> > ? ? ? ? ?as quota_rule \
> > ? FROM mailbox, domain \
> > ? WHERE username = '%Lu' AND mailbox.active = '1' AND \
> > ? ? ? ? domain.domain = '%d' AND domain.active = '1'
> > iterate_query = SELECT use...
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi,
this is the next version of quota support for quota tools. I've addressed all
the comments of Tao, Joel and others. Sparse feature disabling also correctly
updates quota information now and the patch is merged into the tunefs support
patch.
Honza
2008 Oct 24
19
[PATCH 00/00] Implement quotas for OCFS2 (version 2)
Hello,
the following patch series implements quotas for OCFS2. The patch
series is based on:
git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git linux-next
I've adressed Joel's comments, also node recovery is now fully working
and I've fixed a few issues I found during my testing. So I'm currently
not aware of any bugs. Please review, test, comment. Thanks.
2017 Jun 21
2
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
...d limits (usually resulting
* in an allocation failure). The timer is started when the user crosses
* their soft limit, it is reset when they go below their soft limit.
*/
#define MAX_IQ_TIME 604800 /* (7*24*60*60) 1 week */
#define MAX_DQ_TIME 604800 /* (7*24*60*60) 1 week */
#define MAXQUOTAS 2
#define USRQUOTA 0 /* element used for user quotas */
#define GRPQUOTA 1 /* element used for group quotas */
/*
* Definitions for the default names of the quotas files.
*/
#define INITQFNAMES { \
"user", /* USRQUOTA */ \
"group", /* G...
2015 Oct 06
4
More information about - Dovecot 2.2.x quota mysql and dict
I some add information about bug...
Dovecot 2.2.19 version on server FreeBSD 10.2 Release.
Config quota (dict + mysql)
Database create Postfixadmin 2.3.7
Old version Dovecot 2.2.13 use method UPDATE in MySQL base + dict
example mysql.log
-----------------
Connect postfix at localhost on postfix
134 Query SELECT bytes FROM quota2 WHERE username =
'user at mydomain.lan'
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi,
I'm sending a series of patches implementing quota support into ocfs2-tools.
It's the same as the original huge patch I've sent but now it's split as Joel
asked. I've also realized that when disabling SPARSE feature, we should update
quota information. That piece of code is missing, I'll implement it soon.
Comments welcome.
Honza