Skip to content

squid: mds: ensure snapclient is synced before corruption check - #56397

Merged
batrick merged 1 commit into
ceph:squidfrom
batrick:wip-64920-squid
Mar 25, 2024
Merged

batrick merged 1 commit into
ceph:squidfrom
batrick:wip-64920-squid

Conversation

@batrick

@batrick batrick commented Mar 22, 2024

Copy link
Copy Markdown
Member

During resolve, orphan dirfrags are purged which may result in dentry commits.
If the snapclient is not sync'd (which normally happens as the last step of
up:resolve), then the snapclient indicates the last sequence is 1 which is
always less than a dentry's legitimate "first" value.

Fixes: https://tracker.ceph.com/issues/64058
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit caa34c1)
@batrick batrick added this to the squid milestone Mar 22, 2024
batrick added a commit to batrick/ceph that referenced this pull request Mar 22, 2024
* refs/pull/56397/head:
	mds: ensure snapclient is synced before corruption check
batrick added a commit to batrick/ceph that referenced this pull request Mar 23, 2024
* refs/pull/56397/head:
	mds: ensure snapclient is synced before corruption check
@batrick

batrick commented Mar 25, 2024

Copy link
Copy Markdown
Member Author

@leonid-s-usov
leonid-s-usov requested a review from a team March 25, 2024 17:50
@batrick
batrick merged commit 5242428 into ceph:squid Mar 25, 2024
@batrick
batrick deleted the wip-64920-squid branch March 25, 2024 17:59
gorsing pushed a commit to gorsing/ceph that referenced this pull request Jul 22, 2026
This seems to be causing quota related test failures in the fs
suoite. @lxbsz will push a separate PR addressing the issue in
tracker ceph#56397.

Signed-off-by: Venky Shankar <[email protected]>
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
* refs/pull/56397/head:
	mds: ensure snapclient is synced before corruption check

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

2 participants