diff mbox

[1/3] libceph: add function names to timeout dout()s

Message ID 1389965304-5667-2-git-send-email-ilya.dryomov@inktank.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ilya Dryomov Jan. 17, 2014, 1:28 p.m. UTC
Add function names to timeout-related dout()s in handle_timeout() and
handle_osds_timeout().

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
---
 net/ceph/osd_client.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index 959d332ed534..548e63b5bcfa 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1402,7 +1402,8 @@  static void handle_timeout(struct work_struct *work)
 	unsigned long keepalive =
 		osdc->client->options->osd_keepalive_timeout * HZ;
 	struct list_head slow_osds;
-	dout("timeout\n");
+
+	dout("%s timeout\n", __func__);
 	down_read(&osdc->map_sem);
 
 	ceph_monc_request_next_osdmap(&osdc->client->monc);
@@ -1446,7 +1447,7 @@  static void handle_osds_timeout(struct work_struct *work)
 	unsigned long delay =
 		osdc->client->options->osd_idle_ttl * HZ >> 2;
 
-	dout("osds timeout\n");
+	dout("%s osds timeout\n", __func__);
 	down_read(&osdc->map_sem);
 	remove_old_osds(osdc);
 	up_read(&osdc->map_sem);