From: Jens Axboe <axboe@kernel.dk>
To: linux-block@vger.kernel.org
Subject: [PATCHSET 0/2] Further block iostat cleanups
Date: Thu, 3 Oct 2024 07:35:31 -0600 [thread overview]
Message-ID: <20241003133646.167231-1-axboe@kernel.dk> (raw)
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
next reply other threads:[~2024-10-03 13:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-03 13:35 Jens Axboe [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241003133646.167231-1-axboe@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.