Skip to content

squid: mds: inode_t flags may not be protected by the policylock during set_vxattr - #57176

Merged
batrick merged 6 commits into
ceph:squidfrom
batrick:wip-65714-squid
May 22, 2024
Merged

batrick merged 6 commits into
ceph:squidfrom
batrick:wip-65714-squid

Conversation

@batrick

@batrick batrick commented Apr 30, 2024

Copy link
Copy Markdown
Member

batrick added 6 commits April 30, 2024 13:20
or other uses.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 2c2782b)
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 0c8d601)
So we can have a long-running lock on an inode for certain tests.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 7f1d066)
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 8a0eceb)
When the policy xlock cannot be immediately acquired.

Test-case: https://tracker.ceph.com/issues/65496
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 5370ede)
The code logic had a serious defect that it would only execute xlock_policylock
once such that a retry would then proceed to executing the vxattr setting.

Fixes: https://tracker.ceph.com/issues/65496
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 2931860)
@batrick batrick added this to the squid milestone Apr 30, 2024
@batrick batrick added the cephfs Ceph File System label Apr 30, 2024
@github-actions github-actions Bot added the tests label Apr 30, 2024
@batrick

batrick commented May 1, 2024

Copy link
Copy Markdown
Member Author

jenkins test windows

@batrick

batrick commented May 17, 2024

Copy link
Copy Markdown
Member Author

@batrick batrick modified the milestones: v19.1.0, v19.1.1 May 17, 2024

@batrick batrick left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@batrick
batrick requested a review from leonid-s-usov May 22, 2024 18:02
@batrick
batrick merged commit 7f2d512 into ceph:squid May 22, 2024
@batrick
batrick deleted the wip-65714-squid branch May 22, 2024 18:20
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
* refs/pull/57176/head:
	mds: move drop_locks to directly after rdonly check
	qa: test quiesce.block is replicated
	qa: test that ceph.dir.subvolume is replicated properly
	mds: add debug "lock path" command
	qa: move reqid_tostr helper
	qa: return run_shell process for waiters

Reviewed-by: Leonid Usov <[email protected]>
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