Disk Cache Manager Functions (Windows Embedded CE 6.0)
1/6/2010
Cache manager functions control the creation and management of cache information.
The following table shows the Cache Manager functions.
Function | Description |
---|---|
If the specified block is cached, copies data from the cache into a buffer. If the specified block is not cached, reads the data from the disk and copies it into a buffer along with the cache. |
|
In the case of a write-through cache, writes data to the disk and the cache. In the case of a write-back cache, writes data only to the cache and allows the lazy-writer thread to commit the data to the disk. |
|
Sends a custom I/O control to the cache. |
|
Creates a cache. |
|
Deletes a cache. This frees all memory allocated to the cache. |
|
Commits dirty blocks in the cache to the disk. This is only necessary for a write-back cache. |
|
Invalidates the cached sectors in a sector list. Invalidated sectors are not committed to disk first, even if they are dirty. |
|
Resizes a cache by reducing or expanding its size. |
|
Updates the cache by reading from the disk for each cache block while maintaining the mapping between a cache block and a disk block. |
See Also
Reference
Registry Settings for File Caching