[Dovecot] minimize mbox mdbox fragmentation

Timo Sirainen tss at iki.fi
Fri Oct 22 01:00:18 EEST 2010


On 21.10.2010, at 22.58, Timo Sirainen wrote:

> Looks like OS X has fcntl(F_PREALLOCATE), although it doesn't seem to produce any visible results, other than giving ENOSPC error if I give too large of a size (100 MB or so). Disk usage doesn't shrink though, so maybe it's more of a hint?..
> 
> Mike, do you think this code is actually working/useful with OSX? :)

Oh, forgot to give the link:

http://hg.dovecot.org/dovecot-2.0/rev/f6e45e83796b

(plus http://hg.dovecot.org/dovecot-2.0/rev/aaca506ea33b)



More information about the dovecot mailing list