Skip to content

block: inflight counter fixes

Omar Sandoval linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: count allocated but not started requests in iostats inflightblock/blk-mq.c+9 -120 replies
2/2blk-mq: fix sysfs inflight counterblock/blk-mq.c block/blk-mq.h block/genhd.c +2 more+43 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] block: inflight counter fixes

From: Omar Sandoval <[email protected]>

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(-)
Signature · 1 line
2.17.0