X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fcache.c;h=1f10ca38503e586fb0be604945e0d857a166e846;hb=c4224e520e4bc28d5546cd55417cd1065655b6ec;hp=d1c5c84c6725e5b6ac2a2cc8f323e386c777b336;hpb=bf1b396c85d03f9c16eee6cd84c71c82503c3ec4;p=bluesky.git diff --git a/bluesky/cache.c b/bluesky/cache.c index d1c5c84..1f10ca3 100644 --- a/bluesky/cache.c +++ b/bluesky/cache.c @@ -287,6 +287,12 @@ static gpointer flushd_task(BlueSkyFS *fs) bluesky_cachefile_gc(fs); g_mutex_unlock(fs->flushd_lock); + g_print("\nCloudlog 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)); + return NULL; }