aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-12 17:23:30 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-12 17:55:54 -0400
commitcca537af7d6defe8001c2229da738f8a3c934fc0 (patch)
tree7ea957929ef2cacd19d3895552d23c6cf29aa8cd /drivers/block/xen-blkback
parent5a577e38724226e06337bc8361f492b6bb76b9a5 (diff)
xen/blkback: if log_stats is enabled print out the data.
And not depend on the driver being built with -DDEBUG flag. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback')
-rw-r--r--drivers/block/xen-blkback/blkback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index 1e454a30e4e1..9dee5454740f 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -251,7 +251,7 @@ irqreturn_t xen_blkif_be_int(int irq, void *dev_id)
251 251
252static void print_stats(struct xen_blkif *blkif) 252static void print_stats(struct xen_blkif *blkif)
253{ 253{
254 pr_debug("xen-blkback (%s): oo %3d | rd %4d | wr %4d | f %4d\n", 254 pr_info("xen-blkback (%s): oo %3d | rd %4d | wr %4d | f %4d\n",
255 current->comm, blkif->st_oo_req, 255 current->comm, blkif->st_oo_req,
256 blkif->st_rd_req, blkif->st_wr_req, blkif->st_f_req); 256 blkif->st_rd_req, blkif->st_wr_req, blkif->st_f_req);
257 blkif->st_print = jiffies + msecs_to_jiffies(10 * 1000); 257 blkif->st_print = jiffies + msecs_to_jiffies(10 * 1000);