MClientRequest: properly handle ceph_mds_request_head_legacy for ext_num_retry, ext_num_fwd, owner_uid, owner_gid#54149
Merged
rishabh-d-dave merged 2 commits intoceph:mainfrom Nov 7, 2023
Conversation
4e6310b to
2a183e6
Compare
Contributor
Author
|
cc @lxbsz |
Contributor
Author
|
jenkins retest this please |
Contributor
Author
|
I'm not sure if we want to incorporate fix from #54121 to this PR. |
Contributor
Author
|
jenkins test make check arm64 |
14 tasks
Contributor
Author
|
jenkins test make check arm64 |
Contributor
Author
|
jenkins test api |
…quest_head_legacy When a client is too old and uses struct ceph_mds_request_head_legacy we must fill new ext_num_retry and ext_num_fwd fields from an old num_retry and num_fwd. Fixes: ceph#45669 Fixes: https://tracker.ceph.com/issues/63288 Fixes: commit cbd7e30 ("ceph_fs.h: add 32 bits extended num_retry and num_fwd support") Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
…head_legacy When a client is too old and uses struct ceph_mds_request_head_legacy we must fill new owner_uid and owner_gid fields from an old client_uid and client_gid. Fixes: ceph#52575 Fixes: https://tracker.ceph.com/issues/63288 Fixes: commit 46cb244 ("ceph_fs.h: add separate owner_{u,g}id fields") Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
2a183e6 to
a70a70f
Compare
Contributor
Author
|
Rebased and added "Fixes" tags to the commit descriptions. |
Contributor
Author
|
jenkins test make check arm64 |
Contributor
Author
|
jenkins test api |
Contributor
Author
|
jenkins test make check arm64 |
2 similar comments
Contributor
Author
|
jenkins test make check arm64 |
Contributor
Author
|
jenkins test make check arm64 |
Contributor
Author
|
cc @batrick |
batrick
approved these changes
Oct 25, 2023
Contributor
Author
|
cc @vshankar |
rishabh-d-dave
approved these changes
Nov 7, 2023
Contributor
rishabh-d-dave
left a comment
There was a problem hiding this comment.
CephFS integration tests were successful - https://tracker.ceph.com/projects/cephfs/wiki/Main#7-Nov-2023
This was referenced Nov 8, 2023
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.
Fix for #53139 (comment)
Reproducer:
/mnt/cephtouch /mnt/ceph/123ceph_assert(_inode->gid != (unsigned)-1).https://tracker.ceph.com/issues/63288
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows