From: Michael Vrable Date: Fri, 30 Oct 2009 04:09:03 +0000 (-0700) Subject: Remove some debugging log messages. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=289bf9fc0872eb2031f93049f28e503db2e01010;p=bluesky.git Remove some debugging log messages. --- diff --git a/bluesky/file.c b/bluesky/file.c index 14de372..a144e25 100644 --- a/bluesky/file.c +++ b/bluesky/file.c @@ -87,7 +87,6 @@ void bluesky_file_truncate(BlueSkyInode *inode, uint64_t size) void bluesky_file_write(BlueSkyInode *inode, uint64_t offset, const char *data, gint len) { - g_print("Start write: %ld\n", bluesky_now_hires()); g_return_if_fail(inode->type == BLUESKY_REGULAR); g_return_if_fail(offset < inode->size); g_return_if_fail(len <= inode->size - offset); @@ -113,7 +112,6 @@ void bluesky_file_write(BlueSkyInode *inode, uint64_t offset, bluesky_inode_update_ctime(inode, 1); bluesky_inode_flush(inode->fs, inode); - g_print("End write: %ld\n", bluesky_now_hires()); } void bluesky_file_read(BlueSkyInode *inode, uint64_t offset, @@ -156,7 +154,6 @@ void bluesky_block_fetch(BlueSkyFS *fs, BlueSkyBlock *block) if (block->type != BLUESKY_BLOCK_REF) return; - g_print("Fetching block from %s\n", block->ref); BlueSkyRCStr *string = bluesky_store_get(fs->store, block->ref); bluesky_string_unref(block->data); @@ -178,7 +175,6 @@ void bluesky_block_flush(BlueSkyFS *fs, BlueSkyBlock *block) g_checksum_update(csum, data->data, data->len); gchar *name = g_strdup(g_checksum_get_string(csum)); - g_print("Flushing block as %s\n", name); bluesky_store_put(fs->store, name, data); g_free(block->ref); block->ref = name; diff --git a/bluesky/inode.c b/bluesky/inode.c index cc4dc3c..cab49a6 100644 --- a/bluesky/inode.c +++ b/bluesky/inode.c @@ -220,7 +220,6 @@ void bluesky_inode_fetch(BlueSkyFS *fs, uint64_t inum) BlueSkyInode *inode = bluesky_deserialize_inode(fs, data->data); if (inode != NULL) { bluesky_insert_inode(fs, inode); - g_print("Loaded inode %"PRIu64"\n", inum); } }