On Sun, 2007-11-04 at 15:27 +0100, [EMAIL PROTECTED] wrote:
> chown("[path]/Maildir/dovecot-uidlist", 105, -1) = 0
> stat64("[path]/Maildir/dovecot-uidlist", 0xFFBFF2F0) = 0
> stat64("[path]/Maildir/dovecot.index.log", 0xFFBFDAE0) = 0
> chown("[path]/Maildir/dovecot.index.log", 105, -1) = 0
> stat64("[path]/Maildir/dovecot.index.log", 0xFFBFDBF0) = 0
> 
> What i notice is that stat64 is very often called twice in a row on the
> same file.
> Also I notice that chown() is always run before a file is accessed.
> 
> Regarding chown it looks like dovecot either thinks that the file hasn't
> got the rights it should have, or it just calls chown anyway to be sure.

I'm not sure about the double stat(), but chown() most means you've set
mail_nfs_index=yes. I'll see if I can do something about the second
stat, but it's unlikely that it makes any difference to disk I/O.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to