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
mds: preparation for async dir operation support #30972
Conversation
d0551ff
to
97b6133
Compare
97b6133
to
73fe707
Compare
jenkins test make check |
jenkins test make check arm64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked over the patches and they seem sane enough, though I'm not familiar enough with the MDS code to review this very well. I have been testing with the larger async MDS patch series, and I haven't seen any regressions with the most recent set.
I move that we go ahead and get this merged soon, so it has some time to soak and run full QA cycles.
@ukernel I'm going to run this through QA ASAP. Needs rebased though. |
73fe707
to
ff621f3
Compare
updated |
jenkins retest this please |
Later pathes will introduce more flags Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
unify non-readable checks of null dentry and non-null dentry. Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
…l dentry Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
So MDCache::predirty_journal_parents can avoid casting MutationRef to MDRequestImpl. Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
define varible 'lock' in the loop that acquires locks Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
reduce memory allocation and fragment Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
The zero-length component (stands for snapdir) must be at very beginning of path. This allow us to easily check if a client request want to access snapshot Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
ff621f3
to
85c0724
Compare
simplfy code and reduce duplication Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
85c0724
to
fdaacd7
Compare
Commit 'mds: move 'traverse to auth' logic into MDCache::path_traverse' contains a multi-mds bug. please re-run multimds tests |
pulpito.ceph.com/?branch=wip-pdonnell-testing-20191111.154849 |
@ukernel let me know if you found any problems in these test runs. I will take a look myself later today. |
test runs look good. A few tests ran two slow, which causes timeout |
Doubel checking some fs failures are unrelated: http://pulpito.ceph.com/?branch=wip-pdonnell-testing-20191120.192241 |
I'm attempting to get the job to fail so that the logs are gathered. This failure is new with your PR. Latest master nightly didn't see this: http://pulpito.ceph.com/teuthology-2019-11-19_03:15:03-fs-master-distro-basic-smithi/ |
Sorry, not this PR. It's also happening with another one: |
Zheng, I don't know how but this PR breaks the and another more recent build: compare to master: /ceph/teuthology-archive/pdonnell-2019-11-22_22:39:39-fs-master-distro-basic-smithi/4534608/teuthology.log mgr logs are different. It might be something about the MDS changing what it sends to the mgr but I don't see how this PR would do that. I'm still looking into this but so far I'm pretty confused. |
cache drop test is also broken but I haven't looked into that one yet: http://pulpito.ceph.com/pdonnell-2019-11-22_21:28:34-fs-wip-pdonnell-testing-20191122.191531-distro-basic-smithi/4534150/ |
I re-ran the 'config show' tests. They passed. maybe the failed test ran 'config show' command too fast, before mds reported its configs |
The cache drop failures look the same as the latest nautilus run: http://pulpito.ceph.com/yuriw-2019-11-21_16:57:10-fs-wip-yuri-nautilus_14.2.5_RC1-distro-basic-smithi/ I'll review this again now and see if I can merge it. |
* refs/pull/30972/head: mds: move 'traverse to auth' logic into MDCache::path_traverse mds: cleanup Capability initialization mds: cleanup code that kills session requests mds: cleanup Server::try_open_auth_dirfrag() mds: restrict path that walks into snapdir mds: use single map to track pinned & auth_pinned objects mds: define operator<(...) for MutationImpl::LockOp mds: cleanup Locker::acquire_locks() mds: introduce Locker::wrlock_try() mds: explictly specify if MDCache::path_traverse() needs to check null dentry mds: cleanup dentry non-readable check in MDCache::path_traverse() mds: change MDCache::path_traverse()'s 'onfail' argument to flags Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com>
cleanup and preparation pathes for #27866
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs