Skip to content

Commit

Permalink
self-test: add io depth and dsync to info
Browse files Browse the repository at this point in the history
When we complete a self test the API returns info about the run
including an info field which says "write run" currently (for a disk
test). Enhance this to include information about whether dsync
was enabled and the total io depth.

Issue redpanda-data/core-internal#1266.
  • Loading branch information
travisdowns committed Jul 12, 2024
1 parent 70ed20c commit 6e11ce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v/cluster/self_test/diskcheck.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ diskcheck::run_configured_benchmarks(ss::file& file) {
auto write_metrics = co_await do_run_benchmark<read_or_write::write>(file);
auto result = write_metrics.to_st_result();
result.name = _opts.name;
result.info = "write run";
result.info = fmt::format(
"write run (iodepth: {}, dsync: {})", _opts.parallelism, _opts.dsync);
result.test_type = "disk";
if (_cancelled) {
result.warning = "Run was manually cancelled";
Expand Down

0 comments on commit 6e11ce0

Please sign in to comment.