]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: EC Optimizations: Add shard_id_sets for backfill_target and ...
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 26 Mar 2025 10:05:07 +0000 (10:05 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 22 Apr 2025 07:04:24 +0000 (08:04 +0100)
commit6eb4150528a86e038d3e349aa9f543202efa3a92
tree142ee3936ba334d8b36ce2cf12901a5143546fbc
parent88b0621a8efbcb894bf9c1c6567c49c55b98be5b
osd: EC Optimizations: Add shard_id_sets for backfill_target and ...
acting_recovery_backfill

Optimized EC code uses shard_id_sets as a convinient and fast way of
representing sets of shards. Peering calculates a backfill_target set
and an active_recovery_backfill set as a map of pg_shard_ids during
peering and these are then used while processing I/O requests.

Modify peering so that it initializes a shard_id_set version of
these two sets and makes these available to ECBackend code.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
src/osd/PG.h
src/osd/PeeringState.cc
src/osd/PeeringState.h