[Dovecot] quota-fs: get nfs GROUP quota (patch)
fandorin at rol.ru
fandorin at rol.ru
Tue Mar 24 14:34:10 EET 2009
Timo Sirainen wrote:
> On Tue, 2009-02-17 at 11:14 +0300, fandorin at rol.ru wrote:
>
>> Hi all. Unfortunately, the existing quota-fs does not know how to get
>> GROUP quota with NFS storage. But there is a tool for Linux quota-tools
>> (http://slackware.rol.ru/slackware/slackware-12.2/source/a/quota/). This
>> patch is made on the basis quota-tools. The patch was successful alpha
>> testing. Suggestions and comments are welcome.
>>
>
> There's a bit too much copy&pasted code. For example the i_info() calls
> are duplicated. And I think you could keep the clnt open when
> fallbacking to the non-ext lookup instead of having to recreate it in
> the middle. It would also need to have some #ifdef EXT_RQUOTAPROG checks
> so that the code would compile with other systems than Linux too. And it
> should probably remember if the non-ext lookup failed the previous time,
> so it wouldn't waste time every time doing it twice.
>
>
Hi. Thanks for your comments. I made a new version of the patch for
GROUP quota with NFS storage.
But I do not know how better to define EXT_RQUOTAPROG: automatically or
using option for configure script.
What do you think? Are you interested in this patch for the basic
version of the dovecot?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rquota.patch
Url: http://dovecot.org/pipermail/dovecot/attachments/20090324/bfcaa8ec/attachment.pl
More information about the dovecot
mailing list