[Dovecot] NFS cache flush tester
Chris Wakelin
c.d.wakelin at reading.ac.uk
Thu Jul 12 21:35:29 EEST 2007
Timo Sirainen wrote:
> On Thu, 2007-07-12 at 21:26 +0300, Timo Sirainen wrote:
>> On Thu, 2007-07-12 at 10:51 -0700, Doug Council wrote:
>>>> Great. Now how about FreeBSD once more? :)
>>> FreeBSD 6.2-RELEASE-p5 and a NetApp NFS server:
>> Thanks.
>>
>>> 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: Write flush dup+close: failed
>>> Info: Write flush attr cache: failed
>> So still nothing usable. Updated nfstest.c once again to include
>> fdatasync() test. It has to work.
>
> Oh, looks like it works also for data flushing with Linux. How about
> Solaris? :)
>
Solaris 8 diff (compilation needed -lrt as well as the usual -lnsl and
-lsocket):
Info: Write flush fdatasync: OK
Info: Data cache flush fdatasync: failed
Solaris 10 was the same as Solaris 8 for the previous nfstest.c. I'll
let you know if it differs for fdatasync (seems unlikely).
Best Wishes,
Chris
--
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
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