squid: cephfs-journal-tool: Journal trimming issue#65602
Merged
neesingh-rh merged 2 commits intoceph:squidfrom Jan 19, 2026
Merged
squid: cephfs-journal-tool: Journal trimming issue#65602neesingh-rh merged 2 commits intoceph:squidfrom
neesingh-rh merged 2 commits intoceph:squidfrom
Conversation
Validates that the cephfs-journal-tool reset doesn't reset the trim position so that the journal trim takes care of trimming the older unused journal objects helping to recover the space in metadata pool. Fixes: https://tracker.ceph.com/issues/69708 Signed-off-by: Kotresh HR <khiremat@redhat.com> (cherry picked from commit 7e85556)
If the fs had to go through journal recovery and reset, the cephfs-journal-tool resets the journal trim position because of which the old unused journal objects just stay forever in the metadata pool. The patch fixes the issue. Now, the old stale journal objects are trimmed during the regular trimming cycle helping to recover space in the metadata pool. Fixes: https://tracker.ceph.com/issues/69708 Signed-off-by: Kotresh HR <khiremat@redhat.com> (cherry picked from commit 4f9a926)
Member
|
This PR is under test in https://tracker.ceph.com/issues/73330. |
neesingh-rh
approved these changes
Jan 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/73130
backport of #65577
parent tracker: https://tracker.ceph.com/issues/69708
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh