scoutfs: remove very noisy bh ref tracing

This wasn't adding much value and was exceptionally noisy.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2016-09-20 14:22:50 -07:00
parent 2bed78c269
commit 161063c8d6
2 changed files with 1 additions and 9 deletions

View File

@@ -207,8 +207,6 @@ struct buffer_head *scoutfs_block_read(struct super_block *sb, u64 blkno)
}
out:
trace_printk("blkno %llu bh %p (ret %ld)\n",
blkno, bh, IS_ERR(bh) ? PTR_ERR(bh) : 0);
return bh;
}
@@ -447,9 +445,6 @@ struct buffer_head *scoutfs_block_dirty(struct super_block *sb, u64 blkno)
set_buffer_uptodate(bh);
set_buffer_scoutfs_verified(bh);
out:
trace_printk("blkno %llu bh %p (ret %ld)\n",
blkno, bh, IS_ERR(bh) ? PTR_ERR(bh) : 0);
return bh;
}

View File

@@ -27,11 +27,8 @@ static inline void *bh_data(struct buffer_head *bh)
static inline void scoutfs_block_put(struct buffer_head *bh)
{
if (!IS_ERR_OR_NULL(bh)) {
trace_printk("putting bh %p count %d\n",
bh, atomic_read(&bh->b_count));
if (!IS_ERR_OR_NULL(bh))
brelse(bh);
}
}
#endif