]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd,crimson/osd: maintain pg_committed_to on replica rather than min_last_complete_ondisk
authorSamuel Just <sjust@redhat.com>
Sat, 30 Mar 2024 23:23:01 +0000 (16:23 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 18 Oct 2024 20:33:57 +0000 (20:33 +0000)
commit6be4d397d027b1b824298767a4a8c1372a3aea62
tree08d4a867e603e3d06c6040a2a0efcb92334ebafe
parent8411911b6b92d5d3ae1bfc743207bc4f224df716
osd,crimson/osd: maintain pg_committed_to on replica rather than min_last_complete_ondisk

This commit updates the bulk of the interface pathways in crimson and
classic to refer to pg_committed_to rather than min_last_complete_ondisk
and changes the replica side to maintain pg_committed_to instead.

This commit shouldn't actually cause any behavior change -- we're still
passing min_last_complete_ondisk (which is a valid lower bound for
pg_committed_to!).

Signed-off-by: Samuel Just <sjust@redhat.com>
13 files changed:
src/crimson/osd/ops_executer.cc
src/crimson/osd/osd_operations/osdop_params.h
src/crimson/osd/pg.cc
src/crimson/osd/pg.h
src/crimson/osd/replicated_backend.cc
src/messages/MOSDRepOp.h
src/osd/ECCommon.h
src/osd/PGBackend.h
src/osd/PeeringState.cc
src/osd/PeeringState.h
src/osd/PrimaryLogPG.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h