Skip to content

Further block iostat cleanups

Jens Axboe linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: remove 'req->part' check for stats accountingblock/blk-mq.c+3 -41 reply
2/2block: kill blk_do_io_stat() helperblock/blk-merge.c block/blk-mq.c block/blk.h+9 -211 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/2] Further block iostat cleanups

Hi,

1) Drop unnecessary ->part check, RQF_IO_STAT should always be the only gating factor for if the request is accounted or not.

2) Kill blk_do_io_stat() helper, as now the only thing being checked is RQF_IO_STAT and hence it serves no purpose.

 block/blk-merge.c | 13 ++++++-------
 block/blk-mq.c    |  7 +++----
 block/blk.h       | 11 -----------
 3 files changed, 9 insertions(+), 22 deletions(-)
Signature · 1 line
Jens Axboe