X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fdebug.c;h=43b29be1d25a036fffe0284f6a60e1762c55cc3d;hb=4a207da5eef9f87a702a011d003d5ad17b651085;hp=6242ba687fcf5747829c9d9cbf6eceff5f0b921c;hpb=3380ff6d419c7d1370c95cf476520ed5398e5b6d;p=bluesky.git diff --git a/bluesky/debug.c b/bluesky/debug.c index 6242ba6..43b29be 100644 --- a/bluesky/debug.c +++ b/bluesky/debug.c @@ -55,11 +55,14 @@ static void cloudlog_dump(gpointer key, gpointer value, gpointer user_data) void bluesky_debug_dump(BlueSkyFS *fs) { g_print("*** DEBUG DUMP FOR FILESYSTEM %s ***\n", fs->name); - g_print("Cached blocks: %d\tDirty blocks: %d\n", - g_atomic_int_get(&fs->cache_total), - g_atomic_int_get(&fs->cache_dirty)); + g_print("Dirty blocks: %d\n", g_atomic_int_get(&fs->cache_dirty)); g_print("Cached inodes: %u\tNext inode: %"PRIu64"\n", g_hash_table_size(fs->inodes), fs->next_inum); + g_print("Cloudlog cache: %d dirty, %d writeback, %d journal, %d cloud\n", + g_atomic_int_get(&fs->cache_log_dirty), + g_atomic_int_get(&fs->cache_log_writeback), + g_atomic_int_get(&fs->cache_log_journal), + g_atomic_int_get(&fs->cache_log_cloud)); GList *item; g_print("Unsynced inode list:");