Initial work on cloud log-structured storage.
[bluesky.git] / bluesky / bluesky.h
index 2255a17..9543d9c 100644 (file)
@@ -146,6 +146,10 @@ typedef struct {
 
     /* Mutex for the flush daemon, to prevent concurrent execution. */
     GMutex *flushd_lock;
+
+    /* Mapping of object identifiers (blocks, inodes) to physical location (in
+     * the local cache or in the logs in the cloud). */
+    GHashTable *locations;
 } BlueSkyFS;
 
 /* Inode number of the root directory. */