From 050dc5cc0363a2684e4378d58812240fc7e2c8ce Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 8 Dec 2016 15:52:29 +0000 Subject: [PATCH] common/lockdep: clearer log messages Previously these were contextless "using id..." messages with no indication of what subsystem the message came from. Signed-off-by: John Spray --- src/common/lockdep.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/lockdep.cc b/src/common/lockdep.cc index b921eb64a55..1f52e565654 100644 --- a/src/common/lockdep.cc +++ b/src/common/lockdep.cc @@ -146,7 +146,7 @@ int lockdep_get_free_id(void) int tmp = last_freed_id; last_freed_id = -1; free_ids[tmp/8] &= 255 - (1 << (tmp % 8)); - lockdep_dout(1) << "reusing last freed id " << tmp << dendl; + lockdep_dout(1) << "lockdep reusing last freed id " << tmp << dendl; return tmp; } @@ -157,7 +157,7 @@ int lockdep_get_free_id(void) for (int j = 0; j < 8; ++j) { if (free_ids[i] & (1 << j)) { free_ids[i] &= 255 - (1 << j); - lockdep_dout(1) << "using id " << i * 8 + j << dendl; + lockdep_dout(1) << "lockdep using id " << i * 8 + j << dendl; return i * 8 + j; } }