From: Roger Pau Monne <roger.pau@citrix.com>
To: linux-kernel@vger.kernel.org, xen-devel@lists.xen.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH v1 1/7] xen-blkback: print stats about persistent grants
Date: Wed, 27 Mar 2013 12:10:37 +0100 [thread overview]
Message-ID: <1364382643-3711-2-git-send-email-roger.pau@citrix.com> (raw)
In-Reply-To: <1364382643-3711-1-git-send-email-roger.pau@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: xen-devel@lists.xen.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
drivers/block/xen-blkback/blkback.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index dd5b2fe..f7526db 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -382,10 +382,12 @@ irqreturn_t xen_blkif_be_int(int irq, void *dev_id)
static void print_stats(struct xen_blkif *blkif)
{
pr_info("xen-blkback (%s): oo %3llu | rd %4llu | wr %4llu | f %4llu"
- " | ds %4llu\n",
+ " | ds %4llu | pg: %4u/%4u\n",
current->comm, blkif->st_oo_req,
blkif->st_rd_req, blkif->st_wr_req,
- blkif->st_f_req, blkif->st_ds_req);
+ blkif->st_f_req, blkif->st_ds_req,
+ blkif->persistent_gnt_c,
+ max_mapped_grant_pages(blkif->blk_protocol));
blkif->st_print = jiffies + msecs_to_jiffies(10 * 1000);
blkif->st_rd_req = 0;
blkif->st_wr_req = 0;
--
1.7.7.5 (Apple Git-26)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next parent reply other threads:[~2013-03-27 11:10 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1364382643-3711-1-git-send-email-roger.pau@citrix.com>
2013-03-27 11:10 ` Roger Pau Monne [this message]
2013-04-09 14:47 ` [PATCH v1 1/7] xen-blkback: print stats about persistent grants Konrad Rzeszutek Wilk
2013-03-27 11:10 ` [PATCH v1 2/7] xen-blkback: use balloon pages for all mappings Roger Pau Monne
2013-03-27 11:10 ` [PATCH v1 3/7] xen-blkback: implement LRU mechanism for persistent grants Roger Pau Monne
2013-03-27 11:10 ` [PATCH v1 4/7] xen-blkback: move pending handles list from blkbk to pending_req Roger Pau Monne
2013-03-27 11:10 ` [PATCH v1 5/7] xen-blkback: make the queue of free requests per backend Roger Pau Monne
2013-03-27 11:10 ` [PATCH v1 6/7] xen-blkback: expand map/unmap functions Roger Pau Monne
2013-03-27 11:10 ` [PATCH v1 7/7] xen-block: implement indirect descriptors Roger Pau Monne
[not found] ` <1364382643-3711-4-git-send-email-roger.pau@citrix.com>
2013-04-09 15:42 ` [PATCH v1 3/7] xen-blkback: implement LRU mechanism for persistent grants Konrad Rzeszutek Wilk
[not found] ` <20130409154201.GC3158@phenom.dumpdata.com>
2013-04-15 11:19 ` Roger Pau Monné
[not found] ` <516BE24A.7090202@citrix.com>
2013-04-17 14:15 ` Konrad Rzeszutek Wilk
[not found] ` <1364382643-3711-3-git-send-email-roger.pau@citrix.com>
2013-04-09 14:47 ` [PATCH v1 2/7] xen-blkback: use balloon pages for all mappings Konrad Rzeszutek Wilk
2013-04-09 15:46 ` Konrad Rzeszutek Wilk
[not found] ` <20130409154601.GD3158@phenom.dumpdata.com>
2013-04-15 8:21 ` Roger Pau Monné
[not found] ` <20130409144733.GA3158@phenom.dumpdata.com>
2013-04-15 8:05 ` Roger Pau Monné
2013-04-15 9:14 ` Roger Pau Monné
[not found] ` <516BB4C6.8090101@citrix.com>
2013-04-15 8:12 ` Roger Pau Monné
2013-04-17 14:00 ` Konrad Rzeszutek Wilk
[not found] ` <516BC4F5.10307@citrix.com>
2013-04-17 14:05 ` Konrad Rzeszutek Wilk
[not found] ` <1364382643-3711-6-git-send-email-roger.pau@citrix.com>
2013-04-09 16:13 ` [PATCH v1 5/7] xen-blkback: make the queue of free requests per backend Konrad Rzeszutek Wilk
[not found] ` <20130409161336.GE3158@phenom.dumpdata.com>
2013-04-15 13:50 ` Roger Pau Monné
[not found] ` <516C05AE.9040904@citrix.com>
2013-04-17 14:16 ` Konrad Rzeszutek Wilk
[not found] ` <1364382643-3711-8-git-send-email-roger.pau@citrix.com>
2013-04-09 18:49 ` [PATCH v1 7/7] xen-block: implement indirect descriptors Konrad Rzeszutek Wilk
[not found] ` <20130409184923.GA4978@phenom.dumpdata.com>
2013-04-15 17:01 ` Roger Pau Monné
[not found] ` <516C3264.3050409@citrix.com>
2013-04-17 14:25 ` Konrad Rzeszutek Wilk
[not found] ` <20130417142554.GG21378@phenom.dumpdata.com>
2013-04-17 17:04 ` Roger Pau Monné
[not found] ` <516ED633.3040205@citrix.com>
2013-04-17 17:27 ` Konrad Rzeszutek Wilk
[not found] ` <20130417172747.GA25736@phenom.dumpdata.com>
2013-04-18 12:43 ` Jens Axboe
[not found] ` <20130418124355.GW4816@kernel.dk>
2013-04-18 14:16 ` Roger Pau Monné
[not found] ` <5170005B.807@citrix.com>
2013-04-18 14:26 ` Jens Axboe
[not found] ` <20130418142642.GY4816@kernel.dk>
2013-04-18 15:14 ` Roger Pau Monné
[not found] ` <51700DD6.1020603@citrix.com>
2013-04-18 15:58 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364382643-3711-2-git-send-email-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).