Skip to content

block: export I/O latency histograms#1026

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1120508=>linus-master
Open

block: export I/O latency histograms#1026
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1120508=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown

Pull request for series with
subject: block: export I/O latency histograms
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1120508

@blktests-ci

blktests-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown
Author

Upstream branch: dc59e4f
series: https://patchwork.kernel.org/project/linux-block/list/?series=1120508
version: 1

The existing block I/O statistics expose completed I/O counts and total
elapsed time for each operation group. Userspace can derive average
latency from those counters, but it cannot recover tail latency
information such as P99 from cumulative totals.

Add optional per-block-device latency histogram accounting for read,
write, discard and flush statistics groups. The counters follow the
existing I/O statistics accounting paths and are exported through
/proc/disk_lat_hists.

Add /proc/disk_lat_buckets to expose the bucket upper bounds in
microseconds so userspace can interpret each histogram counter.

Histogram storage is allocated per block_device and treated as optional.
If allocation fails, regular I/O statistics continue to work and the
histogram output skips that device.

Signed-off-by: Diangang Li <lidiangang@bytedance.com>
@blktests-ci

blktests-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown
Author

Upstream branch: 87320be
series: https://patchwork.kernel.org/project/linux-block/list/?series=1120508
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1120508=>linus-master branch from b7a8be3 to 676f13f Compare July 2, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants