Skip to content

quincy: tools/cephfs: recover alternate_name of dentries from journal#58234

Closed
batrick wants to merge 5 commits intoceph:quincyfrom
batrick:wip-66594-quincy
Closed

quincy: tools/cephfs: recover alternate_name of dentries from journal#58234
batrick wants to merge 5 commits intoceph:quincyfrom
batrick:wip-66594-quincy

Conversation

@batrick
Copy link
Member

@batrick batrick commented Jun 24, 2024

N.B. this drops the QA commit because fs:fscrypt does not exist in quincy.

backport tracker: https://tracker.ceph.com/issues/66594


backport of #55792
parent tracker: https://tracker.ceph.com/issues/64602

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

@batrick batrick added this to the quincy milestone Jun 24, 2024
@batrick batrick added the tools label Jun 24, 2024
@github-actions github-actions bot added the cephfs Ceph File System label Jun 24, 2024
@lxbsz
Copy link
Member

lxbsz commented Aug 2, 2024

This PR is under test in https://tracker.ceph.com/issues/67315.

@github-actions github-actions bot added the stale label Nov 26, 2024
@batrick batrick removed the stale label Nov 26, 2024
@ceph ceph deleted a comment from github-actions bot Dec 30, 2024
@batrick
Copy link
Member Author

batrick commented Dec 30, 2024

jenkins test make check

@vshankar
Copy link
Contributor

vshankar commented Jan 2, 2025

This PR is under test in https://tracker.ceph.com/issues/69400.

It's never a good idea to put new fields in the middle of other encoded values
unless you're willing to break all backwards-compatibility.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d27b115)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit a66e80a)
Looked like:

    recover_dentries: updating root 0x0x1

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7599d47)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 4b4cb54)
Right now the cephfs-journal-tool always uses the legacy encoding for dentries
which will drop the alternate_name if ever set.

Fixes: 39f3440
Fixes: https://tracker.ceph.com/issues/64602
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit bebec1f)
@vshankar
Copy link
Contributor

Quincy is EOL.

@vshankar vshankar closed this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants