From: Ronen Friedman Date: Mon, 6 Jul 2026 16:19:25 +0000 (+0300) Subject: osd/scrub: fix pg_scrubber.h diagram X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d519c5f8e54226ad6e2c00482188b1e17a8cb73c;p=ceph.git osd/scrub: fix pg_scrubber.h diagram The diagram depicts the relationships between the main Scrubber components and interfaces. The previous version of the diagram was outdated, and it is now fixed to match the code. Signed-off-by: Ronen Friedman --- diff --git a/src/osd/scrubber/pg_scrubber.h b/src/osd/scrubber/pg_scrubber.h index 9ee7d69e4c71..ba6decfcbb86 100644 --- a/src/osd/scrubber/pg_scrubber.h +++ b/src/osd/scrubber/pg_scrubber.h @@ -8,57 +8,64 @@ Main Scrubber interfaces: -┌──────────────────────────────────────────────┬────┐ -│ │ │ -│ │ │ -│ PG │ │ -│ │ │ -│ │ │ -├──────────────────────────────────────────────┘ │ -│ │ -│ PrimaryLogPG │ -└────────────────────────────────┬──────────────────┘ - │ - │ - │ owns & uses - │ - │ - │ -┌────────────────────────────────▼──────────────────┐ -│ <> │ -└───────────────────────────▲───────────────────────┘ - │ - │ - │implements - │ - │ - │ -┌───────────────────────────┴───────────────┬───────┐ -│ │ │ -│ PgScrubber │ │ -│ │ │ -│ │ ├───────┐ -├───────────────────────────────────────────┘ │ │ -│ │ │ -│ PrimaryLogScrub │ │ -└─────┬───────────────────┬─────────────────────────┘ │ - │ │ implements - │ owns & uses │ │ - │ │ ┌─────────────────────────▼──────┐ - │ │ │ <> │ - │ │ └─────────▲──────────────────────┘ - │ │ │ - │ │ │ - │ ▼ │ - │ ┌────────────────────────────────┴───────┐ - │ │ │ - │ │ ScrubMachine │ - │ │ │ - │ └────────────────────────────────────────┘ +┌──────────────────────────────────────────────────┬────┐ +│ │ │ +│ PG │ │ +│ (implements <>) │ │ +│ │ │ +├──────────────────────────────────────────────────┘ │ +│ │ +│ PrimaryLogPG │ +└──────────────────────────┬────────────────────────────┘ + │ + │ owns & uses + │ +┌──────────────────────────▼────────────────────────────┐ +│ <> │ +└──────────────────────────▲────────────────────────────┘ + │ + │ implements + │ +┌──────────────────────────┴──────────────┬──────┐ ┌──────────────────────────────────┐ +│ │ │ │ │ +│ PgScrubber │ ├───────►│ <> │ +│ │ │ │ │ +│ │ │ └──────────────────────────────▲───┘ +│ │ │implements │ +│ │ │ ┌──────────────────────────┐ │ +│ │ ├───────►│ <> │ │ +│ │ │ │ │ │ +├─────────────────────────────────────────┘ │ └─────────────────▲────────┘ │ +│ │ │ │ +│ PrimaryLogScrub │ uses │ uses │ +│ │ │ │ +└─────┬──────────────────┬──────────────┬────────┘ │ │ + │ │ │ │ │ + │ owns & uses │ owns & uses │ owns & uses │ │ + │ │ │ │ │ + │ │ ┌─────▼──────────────────────────┐ │ │ + │ │ │ ├────────┘ │ + │ │ │ ScrubBackend │ │ + │ │ │ (also uses │ │ + │ │ │ <>) │ │ + │ │ │ │ │ + │ │ └────────────────────────────────┘ │ + │ │ │ + │ ┌─────────────▼─────────────────────────────┐ │ + │ │ <> │ │ + │ └────────────────────▲──────────────────────┘ │ + │ │ │ + │ │ implements │ + │ │ │ + │ ┌────────────────────┴──────────────────────┐ │ + │ │ ├─────────────────────────────────┘ + │ │ ScrubMachine │ + │ │ │ + │ └───────────────────────────────────────────┘ │ ┌───▼─────────────────────────────────┐ │ │ - │ ScrubStore │ + │ Scrub::Store │ │ │ └─────────────────────────────────────┘