WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] blktap: make debugging messages a lit

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] blktap: make debugging messages a little more meaningful
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Apr 2010 01:50:08 -0700
Delivery-date: Thu, 22 Apr 2010 01:50:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1271925371 -3600
# Node ID 5bccfba3e847b23f53d28b5e7e4ad5215c33f3a1
# Parent  2a4b455b1fbab6405d06f446484d9fe9b20be619
blktap: make debugging messages a little more meaningful

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/blktap/xenbus.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff -r 2a4b455b1fba -r 5bccfba3e847 drivers/xen/blktap/xenbus.c
--- a/drivers/xen/blktap/xenbus.c       Thu Apr 22 09:35:46 2010 +0100
+++ b/drivers/xen/blktap/xenbus.c       Thu Apr 22 09:36:11 2010 +0100
@@ -241,8 +241,11 @@ static void tap_update_blkif_status(blki
                err = PTR_ERR(blkif->xenblkd);
                blkif->xenblkd = NULL;
                xenbus_dev_fatal(blkif->be->dev, err, "start xenblkd");
-               WPRINTK("Error starting thread\n");
-       }
+               WPRINTK("Error starting thread %s\n", name);
+       } else
+               DPRINTK("Thread started for domid %d, connected disk %d\n",
+                       blkif->domid, blkif->dev_num);
+
 }
 
 /**
@@ -332,8 +335,6 @@ static void tap_backend_changed(struct x
        /* Associate tap dev with domid*/
        be->blkif->dev_num = dom_to_devid(be->blkif->domid, be->xenbus_id, 
                                          be->blkif);
-       DPRINTK("Thread started for domid [%d], connecting disk\n", 
-               be->blkif->dev_num);
 
        tap_update_blkif_status(be->blkif);
 }
@@ -347,7 +348,7 @@ static void tap_frontend_changed(struct 
        struct backend_info *be = dev->dev.driver_data;
        int err;
 
-       DPRINTK("\n");
+       DPRINTK("fe_changed(%s,%d)\n", dev->nodename, frontend_state);
 
        switch (frontend_state) {
        case XenbusStateInitialising:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] blktap: make debugging messages a little more meaningful, Xen patchbot-linux-2.6.18-xen <=