X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=09d2755b4111e2119c0fe37260aa968085375a10;hb=45a4f324927f8fe3b7e689dd0c9a28716d0d1e93;hp=1d0b0b1fe6a1a46f7401917b5a810b3df35af78a;hpb=7ca401a44bfecb14b7e5ecf849aec31157382231;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index 1d0b0b1..09d2755 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -128,7 +128,12 @@ typedef struct { * that we don't exhaust the identifier space. */ uint64_t inum; - uint64_t change_count; /* Incremented each with each change made */ + /* change_count is increased with every operation which modifies the inode, + * and can be used to determine if cached data is still valid. + * change_commit is the value of change_count when the inode was last + * committed to stable storage. */ + uint64_t change_count, change_commit; + int64_t atime; /* Microseconds since the Unix epoch */ int64_t ctime; int64_t mtime;