mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-04 11:24:21 +00:00
scoutfs: remove excessive block locking tracing
I accidentally left some lock tracing in the btree locking commit that is very noisy and not particularly useful. Let's remove it. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -511,8 +511,6 @@ void scoutfs_block_lock(struct buffer_head *bh, bool write, int subclass)
|
||||
{
|
||||
struct block_bh_private *bhp = bh->b_private;
|
||||
|
||||
trace_printk("lock write %d bhp %p\n", write, bhp);
|
||||
|
||||
if (bhp) {
|
||||
if (write)
|
||||
down_write_nested(&bhp->rwsem, subclass);
|
||||
@@ -525,8 +523,6 @@ void scoutfs_block_unlock(struct buffer_head *bh, bool write)
|
||||
{
|
||||
struct block_bh_private *bhp = bh->b_private;
|
||||
|
||||
trace_printk("unlock write %d bhp %p\n", write, bhp);
|
||||
|
||||
if (bhp) {
|
||||
if (write)
|
||||
up_write(&bhp->rwsem);
|
||||
|
||||
Reference in New Issue
Block a user