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

luminous: cephfs: client: fix choose_target_mds for requests that do name lookup #23793

Merged
merged 1 commit into from Sep 18, 2018

Conversation

Projects
None yet
6 participants
@pdvian

pdvian commented Aug 29, 2018

client: fix choose_target_mds for requests that do name lookup
There are two cases that a dirfrag is not recorded in CInode::fragmap.
One is that the dirfrag is not subtree root, another is that client does
not know which mds is dirfrag's auth mds. For the both cases, requests
that do name lookup are better to sent to dir inode's auth mds.

Fixes: http://tracker.ceph.com/issues/26860
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 436d174)

Conflicts:
	src/client/Client.cc : Resolved in choose_target_mds

@tchaikov tchaikov added this to the luminous milestone Aug 29, 2018

@smithfarm smithfarm added the cephfs label Aug 29, 2018

@smithfarm smithfarm requested review from batrick and ukernel Aug 29, 2018

@ukernel

ukernel approved these changes Sep 4, 2018

@yuriw

This comment has been minimized.

Contributor

yuriw commented Sep 13, 2018

@yuriw yuriw merged commit 97adad0 into ceph:luminous Sep 18, 2018

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@smithfarm smithfarm changed the title from luminous : client: fix choose_target_mds for requests that do name lookup to luminous: client: fix choose_target_mds for requests that do name lookup Oct 26, 2018

@smithfarm smithfarm changed the title from luminous: client: fix choose_target_mds for requests that do name lookup to luminous: cephfs: client: fix choose_target_mds for requests that do name lookup Oct 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment