]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
libceph: add function names to timeout dout()s
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 16 Jan 2014 17:20:34 +0000 (19:20 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 16 Jan 2014 17:20:34 +0000 (19:20 +0200)
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

index 959d332ed5342943d02cd35c0dbec0b1aba28c93..548e63b5bcfabf04773eb69356c966ee971692c7 100644 (file)
@@ -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);