Add very rudimentary eviction data blocks from the cache.
[bluesky.git] / bluesky / bluesky-private.h
index 95fc7d5..a4c8a5e 100644 (file)
@@ -64,6 +64,8 @@ typedef struct {
     int result;                 /* Result code; 0 for success. */
     struct BlueSkyNotifierList *notifiers;
 
+    bluesky_time_hires start_time;  /* Time operation was submitted. */
+
     gpointer store_private;     /* For use by the storage implementation */
 } BlueSkyStoreAsync;
 
@@ -115,6 +117,7 @@ void bluesky_inode_start_sync(BlueSkyInode *inode, BlueSkyStoreAsync *barrier);
 void bluesky_block_flush(BlueSkyFS *fs, BlueSkyBlock *block,
                          BlueSkyStoreAsync *barrier);
 void bluesky_file_flush(BlueSkyInode *inode, BlueSkyStoreAsync *barrier);
+void bluesky_file_drop_cached(BlueSkyInode *inode);
 
 #ifdef __cplusplus
 }