[Dovecot] NFS cache flush tester

Chris Wakelin c.d.wakelin at reading.ac.uk
Thu Jul 12 14:45:26 EEST 2007



Timo Sirainen wrote:
> http://dovecot.org/tools/nfstest.c
> 
> I wrote a test utility that tests different ways to flush NFS attribute
> cache and data cache. Please test in your NFS setup and show me the
> results, so I can make Dovecot v1.1 works well with NFS.
> 

Results for Solaris 8 talking to a NetApp filer (OS: ONTAP 7.2.2p3)

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): OK
Info: Write flush fcntl(exclusive): OK
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
Info: Data cache flush fcntl(shared): OK
Info: Data cache flush fcntl(exclusive): OK
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


-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list