search for: rq_curblocks

Displaying 4 results from an estimated 4 matches for "rq_curblocks".

2010 Jun 29
1
NFS(4) IMAP Quota
...ota->set->debug) { i_info("quota-fs: host=%s, path=%s, uid=%s, %s", @@ -366,17 +371,24 @@ /* convert the results from blocks to bytes */ const rquota *rq = &result.getquota_rslt_u.gqr_rquota; - if (rq->rq_active) { - if (bytes) { - *value_r = (uint64_t)rq->rq_curblocks * - (uint64_t)rq->rq_bsize; + if (bytes) { + *value_r = (uint64_t)rq->rq_curblocks * + (uint64_t)rq->rq_bsize; + if (rq->rq_bsoftlimit) { *limit_r = (uint64_t)rq->rq_bsoftlimit * (uint64_t)rq->rq_bsize; } else { - *value_r = rq->rq_curfiles; - *...
2008 Jun 18
3
v1.1.rc11 released
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen to break anything since rc10 :) - dovecot-uidlist is now recreated if it results in file
2008 Jun 18
3
v1.1.rc11 released
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen to break anything since rc10 :) - dovecot-uidlist is now recreated if it results in file
2006 Feb 03
0
rquotad (NFS) quota plugin
...mp;qargs, &qres) != 0) { + return; + } + + switch (qres.status) { + case Q_OK: + root->kbyte_limit = + (qres.getquota_rslt_u.gqr_rquota.rq_bhardlimit * + qres.getquota_rslt_u.gqr_rquota.rq_bsize) / 1024; + root->kbyte_usage = + (qres.getquota_rslt_u.gqr_rquota.rq_curblocks * + qres.getquota_rslt_u.gqr_rquota.rq_bsize) / 1024; + /* inodes */ + root->inode_limit = + qres.getquota_rslt_u.gqr_rquota.rq_fhardlimit; + root->inode_usage = + qres.getquota_rslt_u.gqr_rquota.rq_curfiles; + root->state = RQUOTAD_ON; + return; + case Q_NOQUOTA:...