2003-02-05 22:21:57

by Lever, Charles

[permalink] [raw]
Subject: RE: NFS mount option - noac forces sync even if async is sp ecified, and no warning is given

> > ah, but Solaris noac doesn't disable *data* caching. data is still
> > cached until the client detects the file has changed. *writes* are
> > no longer cached, but reads can hit the client's data cache as long
> > as the file doesn't change on the server.
> >
> Then their manpage is also wrong. On 2.6 (and 2.8) it says:
> noac Suppress data and attribute caching.
>
> It sounds very much like they kill all caching, but who knows
> what they actually do.

for the record, here's what my man page says (Solaris 9):

noac Suppress data and attribute caching. The data
caching that is suppressed is the write-behind.
The local page cache is still maintained, but
data copied into it is immediately written to
the server.

there's a section further down in the man page called "File
Attributes" that explains in detail how attribute caching
works and what noac does, which i think also appears in the
Solaris 8 version of this page.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2003-02-05 22:42:37

by Spencer Shepler

[permalink] [raw]
Subject: Re: NFS mount option - noac forces sync even if async is sp ecified, and no warning is given

On Wed, Lever, Charles wrote:
> > > ah, but Solaris noac doesn't disable *data* caching. data is still
> > > cached until the client detects the file has changed. *writes* are
> > > no longer cached, but reads can hit the client's data cache as long
> > > as the file doesn't change on the server.
> > >
> > Then their manpage is also wrong. On 2.6 (and 2.8) it says:
> > noac Suppress data and attribute caching.
> >
> > It sounds very much like they kill all caching, but who knows
> > what they actually do.
>
> for the record, here's what my man page says (Solaris 9):
>
> noac Suppress data and attribute caching. The data
> caching that is suppressed is the write-behind.
> The local page cache is still maintained, but
> data copied into it is immediately written to
> the server.
>
> there's a section further down in the man page called "File
> Attributes" that explains in detail how attribute caching
> works and what noac does, which i think also appears in the
> Solaris 8 version of this page.

Correct. The additional explanation is contained in the Solaris 8 man
page.

--
Spencer



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs