Start at writing out inode maps to cloud storage.
[bluesky.git] / bluesky / bluesky-private.h
index 3cfec78..9f973a3 100644 (file)
@@ -350,8 +350,8 @@ typedef struct {
     /* A sorted list (by inode number) of InodeMapEntry objects. */
     GSequence *map_entries;
 
-    /* The location where this inode map section is stored in the cloud. */
-    BlueSkyCloudPointer location;
+    /* The serialized version of the inode map data. */
+    BlueSkyCloudLog *serialized;
 
     /* Have there been changes that require writing this section out again? */
     gboolean dirty;
@@ -359,6 +359,7 @@ typedef struct {
 
 InodeMapEntry *bluesky_inode_map_lookup(GSequence *inode_map, uint64_t inum,
                                         int action);
+BlueSkyCloudLog *bluesky_inode_map_serialize(BlueSkyFS *fs);
 
 #ifdef __cplusplus
 }