Synchronous updates on ext3?

Simon Matter simon.matter at ch.sauter-bc.com
Thu Aug 29 11:37:19 EDT 2002


Henrique de Moraes Holschuh schrieb:
> 
> On Thu, 29 Aug 2002, Lawrence Greenfield wrote:
> >    Date: Thu, 29 Aug 2002 08:53:09 -0300
> >    From: Henrique de Moraes Holschuh <hmh at debian.org>
> > [...]
> >    Don't try to second-guess the user. If anyone is dumb enough to enable
> >    data=writeback in ext3, he deserves what he gets.
> >
> > data=writeback is also safe, since Cyrus specifically calls fsync()
> > before doing any crucial metadata operations.
> 
> Nice to know that :-)  So we can sum it up like this:
> 
> 1. Cyrus needs that the filesystem metadata be kept sane, and that fsync()
> is honoured.
> 2. Ext3 always does this, in all three modes of operation. Sync writes are
> never needed.
> 3. Ext2 only does this in sync mode.

Thanks for all the responses. I'm convinced to not change anything.

BTW while we are at it, any special recommendations for other
filesystems? Peronally I'm mostly using XFS which is really very nice.
What about ReiserFS / JFS for Cyrus IMAPd?

Simon

> 
> data=writeback might be slower than data=journal for ext3 mail spools. One
> has to benchmark his particular fs, I suppose.
>





More information about the Info-cyrus mailing list