uint64_t next_inum; /* Next available inode for allocation */
BlueSkyStore *store;
+
+ /* Accounting for memory used for caches. Space is measured in blocks, not
+ * bytes. We track both total data in the caches and dirty data (total
+ * data includes dirty data). Updates to these variables must be made
+ * atomically. */
+ gint cache_total, cache_dirty;
} BlueSkyFS;
/* Inode number of the root directory. */