Skip to contentSkip to conversation

dlm: remove deadlock debug print

PATCH New David Teigland 1 participant 1 message Jul 21, 2011 Distributed lock manager (DLM)

lore
Share & tools
lore

David Teigland

author maintainer
#0 lore raw

PATCH 8/10 dlm: remove deadlock debug print

gfs2 recently began using this feature heavily,
creating more debug output than we want to see.

---
 fs/dlm/lock.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
fs/dlm/lock.c +0 -3
index 9ebeaa6..6772e5c 100644
@@ -2421,9 +2421,6 @@ static int do_convert(struct dlm_rsb *r, struct dlm_lkb *lkb)
 
 	if (deadlk) {
 		/* it's left on the granted queue */
-		log_debug(r->res_ls, "deadlock %x node %d sts%d g%d r%d %s",
-			  lkb->lkb_id, lkb->lkb_nodeid, lkb->lkb_status,
-			  lkb->lkb_grmode, lkb->lkb_rqmode, r->res_name);
 		revert_lock(r, lkb);
 		queue_cast(r, lkb, -EDEADLK);
 		error = -EDEADLK;
Signature · 1 line
1.7.6