[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] blktap: make debugging messages a little more meaningful
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |