DoAsyncSynchronize
Forces the hardware buffer to flush data blocks to the media.
Declaration
virtual kern_return_t DoAsyncSynchronize(uint32_t requestID, uint64_t lba, uint64_t numOfBlocks);Parameters
- requestID:
An opaque identifier. After the dext completes the request, it calls Complete and sends this value as a parameter.
- lba:
The logical block number of the first block to synchronize.
- numOfBlocks:
The number of blocks to synchronize.
Return Value
A value that indicates the synchronize result. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.
Discussion
When the synchronize operation completes, the dext calls your Complete method with the results of the operation.