[Dovecot] NFS cache flush tester

Doug Council dcouncil at nethere.com
Thu Jul 12 01:43:25 EEST 2007


On Thu, 12 Jul 2007, Timo Sirainen wrote:
> Hmm. I updated the nfstest.c to now just retry if this happens. Does it
> help?

Yes, that worked.

Here are the results for FreeBSD 6.2-RELEASE-p5 and a NetApp NFS server. 
FYI, the fcntl errors also appeared on the server instance.

Info: Connected: client
Info: O_EXCL works
Info: Testing attribute cache..
Info: Attr cache flush fchown(-1, -1): OK
Info: Attr cache flush fchown(uid, -1): OK
Info: Attr cache flush fchmod(mode): OK
Info: Attr cache flush chown(-1, -1): OK
Info: Attr cache flush chown(uid, -1): OK
Info: Attr cache flush chmod(mode): OK
Info: Testing write flushing..
Info: Write flush no caching: failed
Info: Write flush fcntl(shared): failed
Info: Write flush fcntl(exclusive): failed
Info: Write flush flock(shared): failed
Info: Write flush flock(exclusive): failed
Info: Write flush reopen: OK
Info: Testing data cache..
Info: data cache: Reading EOF requires attribute cache flush
Info: Data cache flush no caching: failed
Info: Data cache flush attr cache: OK
Error: fcntl(setlk, read) failed: Operation not supported
Info: Data cache flush fcntl(shared): failed
Error: fcntl(setlk, write) failed: Operation not supported
Info: Data cache flush fcntl(exclusive): failed
Info: Data cache flush flock(shared): failed
Info: Data cache flush flock(exclusive): failed
Info: Data cache flush dotlock: failed
Info: Data cache flush O_DIRECT: failed

-Doug


More information about the dovecot mailing list