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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add function names to timeout-related dout()s in handle_timeout() and
handle_osds_timeout().

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

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);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux