[Dovecot] Plugins on a NFS
tss at iki.fi
Thu Dec 16 13:34:41 EET 2010
On Thu, 2010-12-16 at 09:30 -0200, Alex Baule wrote:
> I Made a plugin that's works fine in a Normal Partition and a GlusterFS
> enviroment too.
> in NFS it's intermitent, some times works, some times don't.
> Only the expunge part have this issue, i use stat to get the amont of hard
> link in a file.
> There is because of that (stat, hard link count) ?
No, hard links work fine with NFS. If you have multiple servers
accessing the same storage via NFS, then it's possible that stat()
result is cached and the hard link count may be out of date. You could
try running nfs_flush_attr_cache_unlocked() before the stat(), but that
doesn't work perfectly.
More information about the dovecot