mbox series

[PATCHSET,0/2] Further block iostat cleanups

Message ID 20241003133646.167231-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Further block iostat cleanups | expand

Message

Jens Axboe Oct. 3, 2024, 1:35 p.m. UTC
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(-)