From: John Spray Date: Thu, 8 Dec 2016 15:52:29 +0000 (+0000) Subject: common/lockdep: clearer log messages X-Git-Tag: v12.0.1~140^2~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=050dc5cc0363a2684e4378d58812240fc7e2c8ce;p=ceph.git 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 --- diff --git a/src/common/lockdep.cc b/src/common/lockdep.cc index b921eb64a55d..1f52e5656542 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; } }