Linux block layer
 help / color / mirror / Atom feed
* [PATCH 0/2] block: inflight counter fixes
@ 2018-04-26  7:21 Omar Sandoval
  2018-04-26  7:21 ` [PATCH 1/2] blk-mq: count allocated but not started requests in iostats inflight Omar Sandoval
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Omar Sandoval @ 2018-04-26  7:21 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, kernel-team

From: Omar Sandoval <osandov@fb.com>

Hi, Jens,

I added a blktest (block/017) for the inflight counter after you
mentioned that we should have one and it easily found a bug :) Patch 2
fixes the bug found by the test, and patch 1 fixes another bug I
noticed. Based on Linus' master.

Thanks!

Omar Sandoval (2):
  blk-mq: count allocated but not started requests in iostats inflight
  blk-mq: fix sysfs inflight counter

 block/blk-mq.c            | 40 +++++++++++++++++++++++++++------------
 block/blk-mq.h            |  4 +++-
 block/genhd.c             | 12 ++++++++++++
 block/partition-generic.c | 10 ++++++----
 include/linux/genhd.h     |  4 +++-
 5 files changed, 52 insertions(+), 18 deletions(-)

-- 
2.17.0

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

end of thread, other threads:[~2018-04-26 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-26  7:21 [PATCH 0/2] block: inflight counter fixes Omar Sandoval
2018-04-26  7:21 ` [PATCH 1/2] blk-mq: count allocated but not started requests in iostats inflight Omar Sandoval
2018-04-26  7:21 ` [PATCH 2/2] blk-mq: fix sysfs inflight counter Omar Sandoval
2018-04-26 14:55 ` [PATCH 0/2] block: inflight counter fixes Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox