From: Michael Vrable Date: Thu, 3 Dec 2009 21:41:15 +0000 (-0800) Subject: Drop some debugging messages. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=a4e456f91da9819e5a1517d4e505816bb4aa1007;p=bluesky.git Drop some debugging messages. --- diff --git a/bluesky/inode.c b/bluesky/inode.c index 0c745e8..a264f35 100644 --- a/bluesky/inode.c +++ b/bluesky/inode.c @@ -240,8 +240,6 @@ void bluesky_superblock_flush(BlueSkyFS *fs) bluesky_serialize_superblock(buf, fs); BlueSkyRCStr *data = bluesky_string_new_from_gstring(buf); - g_print("Syncing superblock...\n"); - BlueSkyStoreAsync *async = bluesky_store_async_new(fs->store); async->op = STORE_OP_PUT; async->key = g_strdup("superblock"); diff --git a/bluesky/s3store.c b/bluesky/s3store.c index bf7c7cd..336afc2 100644 --- a/bluesky/s3store.c +++ b/bluesky/s3store.c @@ -59,7 +59,6 @@ static int s3store_put_handler(int bufferSize, char *buffer, static S3Status s3store_properties_callback(const S3ResponseProperties *properties, void *callbackData) { - g_print("(Properties callback)\n"); return S3StatusOK; } @@ -86,7 +85,6 @@ static void s3store_task(gpointer a, gpointer s) BlueSkyStoreAsync *async = (BlueSkyStoreAsync *)a; S3Store *store = (S3Store *)s; - g_print("Start task [key=%s]...\n", async->key); async->status = ASYNC_RUNNING; if (async->op == STORE_OP_GET) { @@ -99,7 +97,6 @@ static void s3store_task(gpointer a, gpointer s) handler.responseHandler.completeCallback = s3store_response_callback; handler.getObjectDataCallback = s3store_get_handler; - g_print("Starting fetch of %s from S3...\n", async->key); S3_get_object(&store->bucket, async->key, NULL, 0, 0, NULL, &handler, &info); @@ -128,8 +125,6 @@ static void s3store_task(gpointer a, gpointer s) handler.responseHandler.completeCallback = s3store_response_callback; handler.putObjectDataCallback = s3store_put_handler; - g_print("Starting store of %s to S3 at %ld...\n", - async->key, bluesky_now_hires()); S3_put_object(&store->bucket, async->key, encrypted->len, NULL, NULL, &handler, &info); @@ -138,7 +133,6 @@ static void s3store_task(gpointer a, gpointer s) async->result = 0; } - g_print("Finish task...\n"); bluesky_store_async_mark_complete(async); bluesky_store_async_unref(async); } diff --git a/bluesky/store.c b/bluesky/store.c index 03d4c4a..7ca0402 100644 --- a/bluesky/store.c +++ b/bluesky/store.c @@ -112,7 +112,6 @@ void bluesky_store_async_unref(BlueSkyStoreAsync *async) g_free(async); g_log("bluesky/store", G_LOG_LEVEL_DEBUG, "freeing async"); - g_print("Freed async\n"); } } @@ -175,11 +174,6 @@ void bluesky_store_async_mark_complete(BlueSkyStoreAsync *async) } } -static void test_notifier(gpointer a, gpointer u) -{ - g_print("Notifier called!\n"); -} - void bluesky_store_async_submit(BlueSkyStoreAsync *async) { BlueSkyStore *store = async->store; @@ -203,7 +197,6 @@ void bluesky_store_async_submit(BlueSkyStoreAsync *async) async->store->pending++; g_mutex_unlock(async->store->lock); - bluesky_store_async_add_notifier(async, test_notifier, NULL); store->impl->submit(store->handle, async); if (bluesky_options.synchronous_stores)