/* A record which tracks an object which has been written to a local log,
* cached, locally, and/or written to the cloud. */
#define CLOUDLOG_JOURNAL 0x01
-#define CLOUDLOG_CACHE 0x02
-#define CLOUDLOG_CLOUD 0x04
+#define CLOUDLOG_CLOUD 0x02
+#define CLOUDLOG_CACHE 0x04
typedef struct {
gint refcount;
GMutex *lock;
for (int i = 0; i < sizeof(BlueSkyCloudID); i++) {
g_print("%02x", (uint8_t)(log->id.bytes[i]));
}
- g_print(": ty=%d inode=%"PRIu64" locs=%x log@(%d,%d)\n",
+ g_print(": ty=%d inode=%"PRIu64" locs=%x log@(%d,%d) cloud@(%d,%d,%d)\n",
log->type, log->inum, log->location_flags,
- log->log_seq, log->log_offset);
+ log->log_seq, log->log_offset, log->location.directory,
+ log->location.sequence, log->location.offset);
}
/* Dump a summary of filesystem state as it is cached in memory. */