From: "Lever, Charles" Subject: RE: Caching Date: Fri, 29 Mar 2002 12:48:31 -0800 Sender: nfs-admin@lists.sourceforge.net Message-ID: <6440EA1A6AA1D5118C6900902745938E50CE25@black.eng.netapp.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1D763.15E703C0" Cc: nfs@lists.sourceforge.net Received: from mx01-a.netapp.com ([198.95.226.53]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16r3Ig-0007Au-00 for ; Fri, 29 Mar 2002 12:48:42 -0800 To: "'Matt Heaton'" Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1D763.15E703C0 Content-Type: text/plain; charset="iso-8859-1" hi matt- fsync() or close() will push the writes to the server immediately. you can also mount the file system with the "sync" option to cause all write operations to push the data to the server before returning to your application. -----Original Message----- From: Matt Heaton [mailto:admin@0catch.com] Sent: Friday, March 29, 2002 6:39 AM To: nfs@lists.sourceforge.net Subject: [NFS] Caching I have an NFS server that is 99% reads and 1% writes. When I do writes the NFS server (Or maybe the client) seems to cache files so that when a write occurs my NFS clients don't get the updated files for a while. Is there some way to expire the cache whenever a write occurs for a specific file? I want the cache to be in place as 99% of all NFS service is reads on my network, I just want updates available right away for the writes? Any clues? I am running 2.4.18 with NFS_ALL patch compiled in on the clients, and 2.4.18 (No patch) for the server. Thanks, Matt ------_=_NextPart_001_01C1D763.15E703C0 Content-Type: text/html; charset="iso-8859-1"
hi matt-
 
fsync() or close() will push the writes to the server immediately.  you can also mount
the file system with the "sync" option to cause all write operations to push the data
to the server before returning to your application.
-----Original Message-----
From: Matt Heaton [mailto:admin@0catch.com]
Sent: Friday, March 29, 2002 6:39 AM
To: nfs@lists.sourceforge.net
Subject: [NFS] Caching

I have an NFS server that is 99% reads and 1% writes.   When I do writes the NFS server (Or maybe the client) seems to cache files so that when a
write occurs my NFS clients don't get the updated files for a while.  Is there some way to expire the cache whenever a write occurs for a specific
file?  I want the cache to be in place as 99% of all NFS service is reads on my network, I just want updates available right away for the writes?  Any
clues?  I am running 2.4.18 with NFS_ALL patch compiled in on the clients, and 2.4.18 (No patch) for the server.
 
Thanks,
Matt
 
------_=_NextPart_001_01C1D763.15E703C0-- _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs