Skip to content

osd/scrub: discard repair_oinfo_oid()#61590

Merged
ronen-fr merged 1 commit intoceph:mainfrom
ronen-fr:wip-rf-noinfo-repair
Feb 2, 2025
Merged

osd/scrub: discard repair_oinfo_oid()#61590
ronen-fr merged 1 commit intoceph:mainfrom
ronen-fr:wip-rf-noinfo-repair

Conversation

@ronen-fr
Copy link
Contributor

repair_oinfo_oid(), called every scrub, has a very specific functionality:
fix the object ID specified in the Object Info attribute, if different from the ID of the owning object.

This fix was added in 2017, as a response to a unique failure scenario that was observed in Sepia -
probably following a filesystem bug.
See https://tracker.ceph.com/issues/18409 & https://tracker.ceph.com/issues/20471.

The limited functionality of repair_oinfo_oid() -
only repairing this one specific issue, and only if the OI_ATTR exists and is decodable -
does not justify the overhead of running it every scrub.

repair_oinfo_oid(), called every scrub, has a very specific
functionality: fix the object ID specified in the Object Info
attribute, if different from the ID of the owning object.

This fix was added in 2017, as a response to a unique failure
scenario that was observed in Sepia - probably following a
filesystem bug. See https://tracker.ceph.com/issues/18409 &
https://tracker.ceph.com/issues/20471.

The limited functionality of repair_oinfo_oid() -
only repairing this one specific issue, and only if the OI_ATTR
exists and is decodable - does not justify the overhead of
running it every scrub.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
@ronen-fr
Copy link
Contributor Author

If OK - I'd consider this for Squid point release.

@ronen-fr
Copy link
Contributor Author

ronen-fr commented Feb 2, 2025

Tested as part of the jumbo wip-rf-combined-30j

@ronen-fr ronen-fr merged commit 409818f into ceph:main Feb 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants