FSDMGR Functions (Compact 2013)
3/26/2014
The following table shows the File System Disk Manager (FSDMGR) functions with a description of the purpose of each.
Function |
Description |
---|---|
Helper function provided by FSDMGR to simplify the implementation of the MyFSD_LockFileEx function in an FSD. |
|
Sends a custom I/O control to the cache. |
|
If the specified block is cached, this function copies data from the cache into a buffer. If the specified block is not cached, this function reads the data from the disk and copies it into a buffer along with the cache. |
|
For a write-through cache, writes data to disk and to the cache. For a write-back cache, writes data only to the cache and allows the lazy-writer thread to commit the data to the disk. |
|
Creates a new cache. |
|
Called by an FSD to create a handle for a specified file. |
|
Creates search or find handles. It is called by an FSD. |
|
Deletes the cache. |
|
Unregisters a volume. |
|
Converts a true device handle into an HDSK for use in subsequent calls to the FSDMGR helper functions. |
|
Called by an FSD to access DeviceIoControl functions exported by a block driver. |
|
Helper function provided by FSDMGR to free all blocked threads waiting to lock a specified file. |
|
Commits dirty blocks in the cache to the disk. |
|
Called by an FSD to obtain disk information. |
|
Called by an FSD to read a flag, based on a value from the registry. |
|
Called by an FSD to read a string value from the registry. |
|
Called by an FSD to read a numeric value from the registry. |
|
Obtains the name of a volume, given its handle. |
|
Locks a file. |
|
Reads sectors from a disk. |
|
Reads sectors from a disk into discontinuous buffers. |
|
Registers a volume on a disk. |
|
Unlocks a file. |
|
Unlocks the file specified by the handle. |
|
Resizes a cache. |
|
Updates the cache by reading from the disk for each cache block while maintaining the mapping between a cache block and a disk block. |
|
Authorizes read or write requests. |
|
Authorizes read or write requests. |
|
Writes sectors to a disk. |
|
Writes sectors to a disk from discontinuous buffers. |