[Dovecot] Re: Maildir unreliability

Matthias Andree matthias.andree at gmx.de
Wed Oct 27 10:59:19 EEST 2004


On Wed, 27 Oct 2004, Gregory Bond wrote:

> Geo Carncross wrote:
> 
> >P1:	opendir(dir1)
> >P1:	readdir()
> >P2:	rename(dir1/f, dir1/f:2)
> >P1:	readdir()		<- never sees dir1/f _OR_ dir1/f:2
...
> 
> Fixing this in general is going to need serious kernel hacking is likely 
> to be very hard, and have ugly performance or  space tradeoffs.
> 
> Hmmm.... dunno if this is acceptable for Maildir, but can you pad the 
> filenames somehow so that the renames never lengthen the filename?

This is not how Maildir works unfortunately.

-- 
Matthias Andree



More information about the dovecot mailing list