From: Ilya Dryomov Date: Thu, 16 Jan 2014 17:20:34 +0000 (+0200) Subject: libceph: add function names to timeout dout()s X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5002337d7b78e227c8fae17e9ba63e0b58447d3;p=ceph-client.git libceph: add function names to timeout dout()s Add function names to timeout-related dout()s in handle_timeout() and handle_osds_timeout(). Signed-off-by: Ilya Dryomov --- 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);