Displaying 18 results from an estimated 18 matches for "dqb_curspac".
Did you mean:
dqb_curspace
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.
2008 Oct 20
0
[PATCH] quota: Move quotaio_v[12].h from include/linux/ to fs/
...dqb_itime);
- d->dqb_bhardlimit = cpu_to_le32(v2_qbtos(m->dqb_bhardlimit));
- d->dqb_bsoftlimit = cpu_to_le32(v2_qbtos(m->dqb_bsoftlimit));
+ d->dqb_bhardlimit = cpu_to_le32(v2_stoqb(m->dqb_bhardlimit));
+ d->dqb_bsoftlimit = cpu_to_le32(v2_stoqb(m->dqb_bsoftlimit));
d->dqb_curspace = cpu_to_le64(m->dqb_curspace);
d->dqb_btime = cpu_to_le64(m->dqb_btime);
d->dqb_id = cpu_to_le32(id);
diff --git a/fs/quotaio_v1.h b/fs/quotaio_v1.h
new file mode 100644
index 0000000..746654b
--- /dev/null
+++ b/fs/quotaio_v1.h
@@ -0,0 +1,33 @@
+#ifndef _LINUX_QUOTAIO_V1_H
+#defi...
2017 Jun 21
2
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
...ES)
#define QIF_TIMES (QIF_BTIME | QIF_ITIME)
#define QIF_ALL (QIF_LIMITS | QIF_USAGE | QIF_TIMES)
struct dqblk
{
u_int64_t dqb_bhardlimit; /* absolute limit on disk quota blocks
alloc */
u_int64_t dqb_bsoftlimit; /* preferred limit on disk quota blocks */
u_int64_t dqb_curspace; /* current quota block count */
u_int64_t dqb_ihardlimit; /* maximum # allocated inodes */
u_int64_t dqb_isoftlimit; /* preferred inode limit */
u_int64_t dqb_curinodes; /* current # allocated inodes */
u_int64_t dqb_btime; /* time limit for excessive disk use */...
2017 Oct 17
0
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
...QIF_ITIME)
> #define QIF_ALL???????? (QIF_LIMITS | QIF_USAGE | QIF_TIMES)
>
> struct dqblk
> ? {
> ??? u_int64_t dqb_bhardlimit;?? /* absolute limit on disk quota blocks
> alloc */
> ??? u_int64_t dqb_bsoftlimit;?? /* preferred limit on disk quota blocks */
> ??? u_int64_t dqb_curspace;???? /* current quota block count */
> ??? u_int64_t dqb_ihardlimit;?? /* maximum # allocated inodes */
> ??? u_int64_t dqb_isoftlimit;?? /* preferred inode limit */
> ??? u_int64_t dqb_curinodes;??? /* current # allocated inodes */
> ??? u_int64_t dqb_btime;??????? /* time limit for e...
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
2017 Jun 20
2
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
Hi,
I have problem with quota storage information in dovecot-2.2.29 (and
newer versions, too - 2.2.30.2).
I use FS quota backend.
............................
# 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf
# OS: Linux 4.4.68-1 x86_64
mail_plugins = quota
plugin {
quota = fs:User quota:mount=/poczta:user
quota2 = fs:Group quota:mount=/poczta:group
}
protocol imap {
2009 Jul 28
2
[PATCH 9-10/10] Quota support for disabling sparse feature
Hi,
I'm sending a patch for proper quota support when disabling sparse feature.
The second patch fixes a minor problem in tunefs.ocfs2 when disabling the
sparse feature. In a few days I plan to resend the whole "quota support" series
with all the changes people request included...
Honza
2002 May 07
0
Re: SAMBA compile errors at XFS kernel.. (fwd)
...imit on allocated inodes */
__u32 dqb_isoftlimit; /* preferred inode limit */
__u32 dqb_curinodes; /* current # allocated inodes */
__u32 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */
__u32 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */
__u64 dqb_curspace; /* current space occupied (in bytes) */
__u64 dqb_btime; /* time limit for excessive disk use */
__u64 dqb_itime; /* time limit for excessive inode use */
};
/* This is in-memory copy of quota block. See meaning of entries above */
struct mem_dqblk {
unsigned int dqb_ihardlimit;
unsigned int...
2019 Mar 13
3
Unable to set quota-fs plugin
Thanks Aki,
Please find attached strace for imap and quota-status which report an error at the end.
Regards,
-
Eric Grammatico _/)
13 mars 2019 12:23 "Aki Tuomi" <aki.tuomi at open-xchange.com> a ?crit:
> The doveadm command seems to have worked. Can you retry with imap?
>
> strace /usr/lib/dovecot/imap -u victim
>
> Aki
>
> On 13.3.2019 12.58, Eric
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
2009 Jul 22
8
[PATCH 0/7] OCFS2 quota fixes (version 2)
Hi,
here is the second version of OCFS2 quota fixes with Joel's comments
fixed. Also I've added a patch defining counts of credits for quota
operations as Joel asked.
Honza
2009 Jul 15
7
[PATCH 0/6] Quota fixes for 2.6.31-rc4
Hi,
I did some more in-depth testing of OCFS2 quota code, especially with ECC
feature enabled and spotted some problems. First four patches fix them.
I need the fifth patch to be able to mount OCFS2 filesystem with 2.6.31-rc3.
The sixth patch fixes a potential problem when quota syncing interval is
updated while the cluster is running (which is not possible currently).
Joel, could you please
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
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
2019 Mar 14
5
Unable to set quota-fs plugin
...ouldn't find
>> it.
>>
>> In the other hand, it is present in the doveadm quota strace, and has completed successfully
>>
>> dovecot.strace:quotactl(QCMD(Q_GETQUOTA, USRQUOTA), "/dev/vda1", 1000, {dqb_bhardlimit=4194304,
>> dqb_bsoftlimit=3170304, dqb_curspace=638853120, dqb_ihardlimit=0, dqb_isoftlimit=0,
>> dqb_curinodes=12784, ...}) = 0
>>
>> Someone has to tell us under what conditions will the imap daemon check for quota (at login ? at
>> delivery or any other action involving moving mail around like copying or expunging ?)...
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...# include <linux/dqblk_xfs.h>
# define HAVE_XFS_QUOTA
#elif defined (HAVE_XFS_XQM_H)
# include <xfs/xqm.h> /* CentOS 4.x at least uses this */
# define HAVE_XFS_QUOTA
#endif
#ifndef DEV_BSIZE
# define DEV_BSIZE 512
#endif
#ifdef HAVE_STRUCT_DQBLK_CURSPACE
# define dqb_curblocks dqb_curspace
#endif
/* Older sys/quota.h doesn't define _LINUX_QUOTA_VERSION at all, which means
it supports only v1 quota */
#ifndef _LINUX_QUOTA_VERSION
# define _LINUX_QUOTA_VERSION 1
#endif
struct fs_quota_mountpoint {
char *mount_path;
char *device_path;
char *type;
#ifdef HAVE_Q_QUOTACTL
i...
2006 Nov 05
1
RC11 Build Failure on FreeBSD 6.1
...patible sendfile()... no
checking FreeBSD compatible sendfile()... yes
checking if we should use _XPG6 macro for crypt()... yes
checking if statvfs.f_mntfromname exists... no
checking if statfs.f_mntfromname exists... yes
checking if struct dqblk.dqb_curblocks exists... yes
checking if struct dqblk.dqb_curspace exists... no
checking if struct Q_QUOTACTL ioctl exists... no
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... no
checking whether va_lists can be copied by value... yes
checking for SSL_read in -lssl... yes
checking openssl/ssl.h usability... yes...