mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-08 04:55:21 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user