linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET 0/2] Further block iostat cleanups
@ 2024-10-03 13:35 Jens Axboe
  2024-10-03 13:35 ` [PATCH 1/2] block: remove 'req->part' check for stats accounting Jens Axboe
  2024-10-03 13:35 ` [PATCH 2/2] block: kill blk_do_io_stat() helper Jens Axboe
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Axboe @ 2024-10-03 13:35 UTC (permalink / raw)
  To: linux-block

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(-)

-- 
Jens Axboe


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

end of thread, other threads:[~2024-10-03 13:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-03 13:35 [PATCHSET 0/2] Further block iostat cleanups Jens Axboe
2024-10-03 13:35 ` [PATCH 1/2] block: remove 'req->part' check for stats accounting Jens Axboe
2024-10-03 13:38   ` Christoph Hellwig
2024-10-03 13:35 ` [PATCH 2/2] block: kill blk_do_io_stat() helper Jens Axboe
2024-10-03 13:38   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).