Partager via


Configuring File Caching for a File System Driver (Windows Embedded CE 6.0)

1/6/2010

If a file system driver (FSD) does not support caching with the disk cache or its own methods, you can still add caching to the FSD.

To add file caching to an FSD

  • For an auto-load file system driver, add the file cache filter to the volume by adding settings under the driver’s registry key, as shown in the following example:

    [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\<MyFSDName>\Filters\CacheFilt]
       "Dll"="cachefilt.dll"
       "LockIOBuffers"=dword:1
    

    - or -

    For a file system driver that is loaded in response to a block device, add the file cache filter to the volume by adding some settings under the driver’s registry key, as shown in the following example:

    [HKEY_LOCAL_MACHINE\System\StorageManager\<MyFSDName>\Filters\CacheFilt]
       "Dll"="cachefilt.dll"
       "LockIOBuffers"=dword:1
    

    There are additional caching parameters that you can optionally control. For more information, see Registry Settings for File Caching.

See Also

Concepts

File Cache Management
Installable File System Drivers
File Systems Registry Settings Overview