X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=d7750f77f390adf399f6f4e2162a80895cb39410;hb=8a2da0db5d5f4f599486876396883f6207ebec6a;hp=7f0ac8513558de0baffa94ba3e0b4e1d2c28a1cc;hpb=79fd07ce3738aceebc08fd363c14795ae9353057;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index 7f0ac85..d7750f7 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -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 */