Advertisement
Guest User

sector cache api

a guest
Jun 20th, 2010
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.39 KB | None | 0 0
  1. /*
  2. The cache needs to be able to provide the following operating modes:
  3. - read sector(s) to an already allocated buffer
  4.   NOTE: we can provide an hint to cache whether the sectors should be cached or not if it's not already in the cache
  5. - write sectors(s) from an already filled buffer
  6.   NOTE: same remark
  7. - read a sector and lock a buffer to it
  8. - write a locked sector
  9. - unlock a sector
  10. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement