[DNM] client: add more debug logs for setxattr#37174
Closed
lxbsz wants to merge 1 commit intoceph:masterfrom
Closed
[DNM] client: add more debug logs for setxattr#37174lxbsz wants to merge 1 commit intoceph:masterfrom
lxbsz wants to merge 1 commit intoceph:masterfrom
Conversation
Member
|
jenkins test api |
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Nov 7, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
Member
|
@lxbsz please rebase. |
For: https://tracker.ceph.com/issues/47294 Signed-off-by: Xiubo Li <xiubli@redhat.com>
Member
Author
Done. Thanks. |
Member
|
jenkins test docs |
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Dec 21, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Dec 22, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Dec 22, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Dec 22, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Dec 22, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Dec 23, 2020
* refs/pull/37174/head: client: add more debug log for setxattr
Member
|
Fix for this problem has been merged: https://tracker.ceph.com/issues/47294 Thanks @lxbsz |
Member
|
https://tracker.ceph.com/issues/47294 is back, reopening this for testing |
batrick
requested changes
Jan 8, 2021
Member
batrick
left a comment
There was a problem hiding this comment.
and drop other debug lines. Then we can merge this.
| // For setting pool of layout, MetaRequest need osdmap epoch. | ||
| // There is a race which create a new data pool but client and mds both don't have. | ||
| // Make client got the latest osdmap which make mds quickly judge whether get newer osdmap. | ||
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; |
Member
There was a problem hiding this comment.
Suggested change
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; | |
| ldout(cct, 15) << __func__ << ": name=" << name << dendl; |
|
|
||
| if (r == -ENOENT) { | ||
| bs::error_code ec; | ||
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; |
Member
There was a problem hiding this comment.
Suggested change
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; | |
| ldout(cct, 20) << __func__ << ": waiting for latest osdmap" << dendl; |
| bs::error_code ec; | ||
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; | ||
| objecter->wait_for_latest_osdmap(ca::use_blocked[ec]); | ||
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; |
Member
There was a problem hiding this comment.
Suggested change
| ldout(cct, 1) << __func__ << ":" << __LINE__ << " name " << name << " value " << value << dendl; | |
| ldout(cct, 20) << __func__ << ": finished waiting for latest osdmap: " << ec << dendl; |
Member
|
superseded by #38836 |
Member
Author
|
Sorry, missed this. |
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.
Just for testing to debug issues#47294.
For: https://tracker.ceph.com/issues/47294
Signed-off-by: Xiubo Li xiubli@redhat.com
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 apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox