[PATCH 0/2] blk-stat: Add ability to not bucket IO, add this to IO poling.
sbates at raithlin.com
sbates at raithlin.com
Sat Mar 25 19:18:10 PDT 2017
From: Stephen Bates <sbates at raithlin.com>
Omar recently developed some patches for block layer stats that use
callbacks to determine which bucket an IO should be considered for. At
the same time there was discussion at LSF/MM that we might not want to
consider all IO when generating stats for certain algorithms (e.g. IO
completion polling).
This set does two things. It makes the bucket callback for stats
signed so we can now ignore IO that cause a negative to be returned
from the bucket function. It then uses this new functionality to
filter IO for the IO completion polling algorithms.
This patchset applies cleanly on a83b576c9c25cf (block: fix stacked
driver stats init and free) in Jens' for-next tree.
I've lightly tested this using QEMU and a real NVMe low-latency
device. I do not have performance number yet. Feedback would be
appreciated!
[BTW this is my first submission for an all new setup so apologies if
this does not come through correctly!]
Cc: Damien.LeMoal at wdc.com
Cc: osandov at osandov.com
Stephen Bates (2):
blk-stat: convert blk-stat bucket callback to signed
blk-stat: add a poll_size value to the request_queue struct
block/blk-mq.c | 17 +++++++++++++++--
block/blk-stat.c | 8 +++++---
block/blk-stat.h | 9 +++++----
block/blk-sysfs.c | 30 ++++++++++++++++++++++++++++++
include/linux/blkdev.h | 1 +
5 files changed, 56 insertions(+), 9 deletions(-)
--
2.7.4
More information about the Linux-nvme
mailing list