From: Jens Axboe <axboe@fb.com>
To: Omar Sandoval <osandov@osandov.com>, <linux-block@vger.kernel.org>
Cc: <kernel-team@fb.com>
Subject: Re: [PATCH v2 0/4] block: callback-based statistics
Date: Tue, 21 Mar 2017 12:04:35 -0400 [thread overview]
Message-ID: <b1e275a2-f254-db5a-212c-81ce545fef57@fb.com> (raw)
In-Reply-To: <cover.1490110621.git.osandov@fb.com>
On 03/21/2017 11:56 AM, Omar Sandoval wrote:
> From: Omar Sandoval <osandov@fb.com>
>
> This patchset generalizes the blk-stats infrastructure to allow users to
> register a callback to be called at a given time with the statistics of
> requests completed during that window. Writeback throttling and hybrid
> polling are converted to the new infrastructure. The new Kyber I/O
> scheduler uses this, as well (but it needs to be rebased on this v2).
>
> The details are in patch 4, which is the actual conversion. Patches 1-3
> are preparation cleanups.
>
> Changes since v1:
>
> - Now the user can subdivide stats into arbitrary buckets. Both in-tree
> users just do reads vs. writes, but we can extend poll based on
> request size in the future
> - blk_stat_arm_callback() became blk_stat_activate_msecs() and
> blk_stat_activate_nsecs()
> - The poll statistics are exposed in debugfs
>
> Omar Sandoval (4):
> block: remove extra calls to wbt_exit()
> blk-stat: use READ and WRITE instead of BLK_STAT_{READ,WRITE}
> blk-stat: move BLK_RQ_STAT_BATCH definition to blk-stat.c
> blk-stat: convert to callback-based statistics reporting
Added for 4.12, thanks Omar. This is a nice improvement for the
writeback throttling as well, since solves the issues with
the stats and throttling having separate and unsynced windows.
--
Jens Axboe
prev parent reply other threads:[~2017-03-21 16:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-21 15:56 [PATCH v2 0/4] block: callback-based statistics Omar Sandoval
2017-03-21 15:56 ` [PATCH v2 1/4] block: remove extra calls to wbt_exit() Omar Sandoval
2017-03-21 15:56 ` [PATCH v2 2/4] blk-stat: use READ and WRITE instead of BLK_STAT_{READ,WRITE} Omar Sandoval
2017-03-21 15:56 ` [PATCH v2 3/4] blk-stat: move BLK_RQ_STAT_BATCH definition to blk-stat.c Omar Sandoval
2017-03-21 15:56 ` [PATCH v2 4/4] blk-stat: convert to callback-based statistics reporting Omar Sandoval
2017-03-21 16:04 ` Jens Axboe [this message]
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=b1e275a2-f254-db5a-212c-81ce545fef57@fb.com \
--to=axboe@fb.com \
--cc=kernel-team@fb.com \
--cc=linux-block@vger.kernel.org \
--cc=osandov@osandov.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox