Values in the kvstore are raw byte arrays, not strings.
[bluesky.git] / bluesky / bluesky.h
index 7f0ac85..d7750f7 100644 (file)
@@ -29,6 +29,10 @@ typedef struct {
      * created in a pending state, and not unlocked until the data is actually
      * available.) */
     int sync_inode_fetches;
+
+    /* Should frontends handle requests serially or allow operations to proceed
+     * in parallel? */
+    int sync_frontends;
 } BlueSkyOptions;
 
 extern BlueSkyOptions bluesky_options;
@@ -165,6 +169,9 @@ typedef struct {
      * set to the current time.  If the inode is clean, it is set to zero. */
     int64_t change_time;
 
+    /* Last access time to this inode, for controlling cache evictions. */
+    int64_t access_time;
+
     /* Additional state for tracking cache writeback status. */
     uint64_t change_pending;    /* change_count version currently being committed to storage */