]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: EC optimizations: add written and present shard sets to pg_log_enty_t
authorBill Scales <156200352+bill-scales@users.noreply.github.com>
Thu, 6 Mar 2025 08:01:49 +0000 (08:01 +0000)
committerBill Scales <bill_scales@uk.ibm.com>
Mon, 7 Apr 2025 14:00:55 +0000 (15:00 +0100)
commit71702bf44fdace0387e10872af3650da2f8fda8e
treedd63ec55415030b93fe22efed50c8add45cf8a9c
parent42dc7bb12b951970c6f30432e4b7d58285b0b419
osd: EC optimizations: add written and present shard sets to pg_log_enty_t

Add two new sets to the pg_log_entry for use by EC optimization pools.
The written shards set tracks which shards were written to, the
present shards set tracks which shards were in the acting set at the
time of the write.

An empty set (default) is used to indicate all shards. For pools without
allow_ec_optimizations the written set is empty (indicating all shards are
written) and the present set is empty and unused.

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