X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=c4d175e90a90ea010d03493ed164a2bf33fe013f;hb=6955b27db8185d222adb07e57d207f7f421037e6;hp=ca3d130d056be233242f29ca026e00896ddefe07;hpb=7795e004d36e779abdf77f8771488595839e4bee;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index ca3d130..c4d175e 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -178,6 +178,10 @@ typedef struct { /* Mapping of object identifiers (blocks, inodes) to physical location (in * the local cache or in the logs in the cloud). */ GHashTable *locations; + + /* The inode map, which maps inode numbers to the location of the most + * recent version. */ + GSequence *inode_map; } BlueSkyFS; /* Inode number of the root directory. */ @@ -298,7 +302,6 @@ typedef struct { } BlueSkyBlock; BlueSkyFS *bluesky_init_fs(gchar *name, BlueSkyStore *store); -void bluesky_superblock_flush(BlueSkyFS *fs); gboolean bluesky_inode_is_ready(BlueSkyInode *inode);