Re: Win32 Cache Question

Jeffrey Altman <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel.win32
Organization No Longer Affiliated with Columbia University in the City of New York
Message-ID <[email protected]>
The Windows and Unix implementations are independent.
While they share some core libraries the actual client implementations 
are very different.
The cache on Unix is not the same as the cache on Windows.  When 
persistence was
added to the Unix implementation there was no one working on the Windows 
implementation.

The Windows cache uses a memory mapped file to store the file data 
segments.  It keeps the vnode
data in memory.  In order for a persistent cache to be implemented three 
things must be done:

   1. synchronize the startup of all threads in the afs client service
   2. store the vnode data in a memory mapped file
   3. synchronize the shutdown of all threads in the afs client service

The startup/shutdown synchronization is required to preserve the 
integrity of the cache data.

Jeffrey Altman


Tommie Gannert wrote:

>Just read the status list. One item was about making a persistent cache.
>
>So, how does the win32-cache work now, and why is the cache
>implementation different on Windows vs. Solaris et al.?
>
>/Tommie Gannert
>_______________________________________________
>OpenAFS-Win32-devel mailing list
>[email protected]
>http://lists.openafs.org/mailman/listinfo/openafs-win32-devel
>  
>
smime.p7s (application/x-pkcs7-signature, 3.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.