Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
IOBlockStorageDriver::synchronizeCache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOBlockStorageDriver::synchronizeCache



 Hello!

We need to ensure ordering between writes, to make sure one write is not started until another has completed, to avoid potential data corruption in the case of power losses or crashes.

In a driver that inherits from IOBlockStorageDriver, can I be sure that any data that has been written to that device has reached the disk surface by calling synchronizeCache, or could drive buffers, NCQ or similar interfere with that.

--
Niklas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.