All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] block : Patches related to io_polling
@ 2016-09-13 18:23 Stephen Bates
  2016-09-13 18:23 ` [PATCH 1/2] Add poll_considered statistic Stephen Bates
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stephen Bates @ 2016-09-13 18:23 UTC (permalink / raw)
  To: linux-block; +Cc: axboe, hch

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-14 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-13 18:23 [PATCH 0/2] block : Patches related to io_polling Stephen Bates
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

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.