projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework caching of data blocks to eliminate double-caching.
[bluesky.git]
/
bluesky
/
debug.c
diff --git
a/bluesky/debug.c
b/bluesky/debug.c
index
1df8382
..
6242ba6
100644
(file)
--- a/
bluesky/debug.c
+++ b/
bluesky/debug.c
@@
-45,7
+45,8
@@
static void cloudlog_dump(gpointer key, gpointer value, gpointer user_data)
}
g_print(": refs=%d ty=%d inode=%"PRIu64" locs=%x log@(%d,%d) cloud@(%d,%d,%d)\n",
log->refcount,
}
g_print(": refs=%d ty=%d inode=%"PRIu64" locs=%x log@(%d,%d) cloud@(%d,%d,%d)\n",
log->refcount,
- log->type, log->inum, log->location_flags,
+ log->type, log->inum,
+ log->location_flags | (log->data != NULL ? 0x100 : 0),
log->log_seq, log->log_offset, log->location.directory,
log->location.sequence, log->location.offset);
}
log->log_seq, log->log_offset, log->location.directory,
log->location.sequence, log->location.offset);
}