osd/scrub: new/modified perf counters for scrub preemption
A new 'scrub_[replicated/ec]_io_intersects' counter is added, to count
the times a client write op intersects the active scrub chunk range.
A new 'scrub_[replicated/ec]_io_blocked' counter counts the times
the write op did not preempt the scrub, and instead blocked for the
scrub to release the chunk.
The existing labeled counter <label>_write_blocked is still there,
but will be removed in 'Umbrella'. Its meaning was modified,
to mimic the new 'scrub_[replicated/ec]_io_blocked' counter.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit
bae81a5c12bc9cf8a6f98a10741801f86bf16204)
(cherry picked from commit
776716ace38456bff1ccde6f787948ffe655913e)