Remove some debugging log messages.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 30 Oct 2009 04:09:03 +0000 (21:09 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 30 Oct 2009 04:09:03 +0000 (21:09 -0700)
bluesky/file.c
bluesky/inode.c

index 14de372..a144e25 100644 (file)
@@ -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;
index cc4dc3c..cab49a6 100644 (file)
@@ -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);
     }
 }