Skip to content

squid: mds: abort fragment/export when quiesced#57203

Merged
batrick merged 6 commits intoceph:squidfrom
batrick:wip-65738-squid
May 22, 2024
Merged

squid: mds: abort fragment/export when quiesced#57203
batrick merged 6 commits intoceph:squidfrom
batrick:wip-65738-squid

Conversation

@batrick
Copy link
Member

@batrick batrick commented May 1, 2024

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


backport of #57059
parent tracker: https://tracker.ceph.com/issues/65603

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 added 6 commits May 1, 2024 09:30
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 78a82ee)
Not all commands return JSON, like `dirfrag split`.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit f543379)
Reproduces: https://tracker.ceph.com/issues/65603
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 527f46f)
Credit to Leonid for first noticing this.

Fixes: https://tracker.ceph.com/issues/65603
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ded6a1c)
This is an optimization to obviate repeated calls to acquire_locks.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit fca346d)
And handle inode becoming quiesced after op is created.

Fixes: https://tracker.ceph.com/issues/65603
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 67925a3)
@batrick batrick added this to the squid milestone May 1, 2024
@batrick batrick added the cephfs Ceph File System label May 1, 2024
@github-actions github-actions bot added the tests label May 1, 2024
@batrick batrick requested a review from leonid-s-usov May 1, 2024 13:31
@batrick
Copy link
Member Author

batrick commented May 17, 2024

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

@batrick batrick modified the milestones: v19.1.0, v19.1.1 May 17, 2024
Copy link
Member Author

@batrick batrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@batrick batrick merged commit bf9853b into ceph:squid May 22, 2024
@batrick batrick deleted the wip-65738-squid branch May 22, 2024 18:07
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