projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some initial work on logging gathering data into cloud log segments.
[bluesky.git]
/
bluesky
/
debug.c
diff --git
a/bluesky/debug.c
b/bluesky/debug.c
index
3496608
..
cfb6a81
100644
(file)
--- a/
bluesky/debug.c
+++ b/
bluesky/debug.c
@@
-42,7
+42,8
@@
static void cloudlog_dump(gpointer key, gpointer value, gpointer user_data)
for (int i = 0; i < sizeof(BlueSkyCloudID); i++) {
g_print("%02x", (uint8_t)(log->id.bytes[i]));
}
for (int i = 0; i < sizeof(BlueSkyCloudID); i++) {
g_print("%02x", (uint8_t)(log->id.bytes[i]));
}
- g_print(": inode=%"PRIu64" locs=%x\n", log->inum, log->location_flags);
+ g_print(": ty=%d inode=%"PRIu64" locs=%x\n",
+ log->type, log->inum, log->location_flags);
}
/* Dump a summary of filesystem state as it is cached in memory. */
}
/* Dump a summary of filesystem state as it is cached in memory. */