From: Michael Vrable Date: Fri, 4 Jun 2010 21:33:54 +0000 (-0700) Subject: Fix a possibel deadlock from synchronizing the superblock. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=9840abd370c4679739b2ae0e9384276bd99c2591;p=bluesky.git Fix a possibel deadlock from synchronizing the superblock. --- diff --git a/bluesky/inode.c b/bluesky/inode.c index e15d5b7..5977955 100644 --- a/bluesky/inode.c +++ b/bluesky/inode.c @@ -415,5 +415,5 @@ void bluesky_superblock_flush(BlueSkyFS *fs) bluesky_store_async_submit(async); bluesky_store_async_unref(async); - bluesky_store_sync(fs->store); + //bluesky_store_sync(fs->store); } diff --git a/bluesky/store-multi.c b/bluesky/store-multi.c index f0b1e5e..5687de7 100644 --- a/bluesky/store-multi.c +++ b/bluesky/store-multi.c @@ -42,8 +42,6 @@ static void multistore_completion_handler(BlueSkyStoreAsync *async, { g_mutex_lock(top_async->lock); - g_print("Completed a subrequest for %s\n", async->key); - /* This might be the second request to finish; in that case we don't do * anything. */ if (top_async->status == ASYNC_RUNNING) { @@ -69,7 +67,6 @@ static void multistore_submit(gpointer store, BlueSkyStoreAsync *async) switch (async->op) { case STORE_OP_GET: - g_print("Received multirequest for %s\n", async->key); async->status = ASYNC_RUNNING; async->exec_time = bluesky_now_hires(); for (int i = 0; i < 2; i++) {