res.cleaner_result.reserve_cold_success,
usage);
abort_io_usage(usage, res);
+ if (!res.reserve_inline_success) {
+ ++stats.io_retried_blocked_count_trim;
+ }
+ if (!res.cleaner_result.is_successful()) {
+ ++stats.io_retried_blocked_count_clean;
+ }
blocking_io = seastar::promise<>();
}
} while (blocking_io);
sm::description("IOs that are blocked by gc")),
sm::make_counter("io_blocked_count_trim", stats.io_blocked_count_trim,
sm::description("IOs that are blocked by trimming")),
+ sm::make_counter("io_retried_blocked_count_clean", stats.io_blocked_count_clean,
+ sm::description("Retried IOs that are blocked by cleaning")),
+ sm::make_counter("io_retried_blocked_count_trim", stats.io_blocked_count_trim,
+ sm::description("Retried IOs that are blocked by trimming")),
sm::make_counter("io_blocked_count_clean", stats.io_blocked_count_clean,
sm::description("IOs that are blocked by cleaning")),
sm::make_counter("io_blocked_sum", stats.io_blocked_sum,
uint64_t io_blocked_count = 0;
uint64_t io_blocked_count_trim = 0;
uint64_t io_blocked_count_clean = 0;
+ uint64_t io_retried_blocked_count_trim = 0;
+ uint64_t io_retried_blocked_count_clean = 0;
uint64_t io_blocked_sum = 0;
uint64_t io_blocked_time = 0;
} stats;