New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quincy: mds: wait unlink to finish to avoid conflict when creating same dentries #48452
Conversation
If the previous unlink request has been delayed due to some reasons, and the new creating for the same dentry may fail or new open will succeeds but new contents wrote to it will be lost. The kernel client will make sure before the unlink getting the first reply it won't send the followed create requests for the same dentry. Here we need to make sure that before the first reply has been sent out the dentry must be marked as unlinking. Fixes: https://tracker.ceph.com/issues/55332 Signed-off-by: Xiubo Li <xiubli@redhat.com> (cherry picked from commit d4b9431)
Signed-off-by: Xiubo Li <xiubli@redhat.com> (cherry picked from commit 417f247)
|
jenkins test api |
|
Rados suite review: https://pulpito.ceph.com/?branch=wip-yuri3-testing-2023-02-16-0752-quincy Failures, unrelated: Details: |
|
jenkins test api |
1 similar comment
|
jenkins test api |
|
this is tested and ready for merge @lxbsz @joscollin |
|
See API tests errors: ` No such file or directoryNo such file or directoryIndication 1 | Python Assertion ErrorPython Assertion Error (probably from a Unit Test)Indication 2 No such file or directory No such file or directory Python Assertion Error (probably from a Unit Test) FAIL: test_issue_tracker_create_with_invalid_key (tasks.mgr.dashboard.test_feedback.FeedbackTest) 2023-02-23 17:28:40,784.784 INFO:main:---------------------------------------------------------------------- Indication 3 Found some Errors in the build log An error happened while pip was installing Python dependencies: Indication 5 Test failed urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 101] Network is unreachable |
|
jenkins test api |
backport tracker: https://tracker.ceph.com/issues/57837
backport of #46331
parent tracker: https://tracker.ceph.com/issues/55332
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. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
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