From: Stephen Bates <sbates@raithlin.com>
To: linux-block@vger.kernel.org
Cc: axboe@kernel.dk, hch@lst.de
Subject: [PATCH 0/2] block : Patches related to io_polling
Date: Tue, 13 Sep 2016 12:23:14 -0600 [thread overview]
Message-ID: <1473790996-27038-1-git-send-email-sbates@raithlin.com> (raw)
While profiling the performance of the io_poll feature of the blk-mq
section of the block layer I found it useful to add another entry to
the io_poll stats counters. I also found it really useful to be able
to zero the stats counters by echoing into the relevant sysfs entry.
These two patches are based off commit 0eadf37afc in Jen's
for-4.9/block. I am not sure if that is the right repo and can rebase
if necessary.
In full disclosure the zeroing patch is based heavily on a code
snippet Jens send me a few months ago.
Stephen Bates (2):
Add poll_considered statistic
Enable zeroing of io_poll statistics
block/blk-core.c | 8 ++++++--
block/blk-mq-sysfs.c | 15 +++++++++++++--
include/linux/blk-mq.h | 1 +
3 files changed, 20 insertions(+), 4 deletions(-)
--
2.1.4
next reply other threads:[~2016-09-13 18:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 18:23 Stephen Bates [this message]
2016-09-13 18:23 ` [PATCH 1/2] Add poll_considered statistic Stephen Bates
2016-09-13 18:23 ` [PATCH 2/2] Enable zeroing of io_poll statistics Stephen Bates
2016-09-14 14:24 ` [PATCH 0/2] block : Patches related to io_polling Christoph Hellwig
2016-09-14 14:42 ` 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=1473790996-27038-1-git-send-email-sbates@raithlin.com \
--to=sbates@raithlin.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.