Skip to content
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

kraken: cephfs: client: populate metadata during mount #12951

Merged
merged 1 commit into from Jan 25, 2017

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jan 16, 2017

http://tracker.ceph.com/issues/18540

This way we avoid having to over-write the "root"
metadata during mount, and any user-set overrides (such
as bad values injected by tests) will survive.

Because Client instances may also open sessions without
mounting to send commands, add a call into populate_metadata
from mds_command as well.

Fixes: http://tracker.ceph.com/issues/18361
Signed-off-by: John Spray john.spray@redhat.com
(cherry picked from commit 1dbff09)

This way we avoid having to over-write the "root"
metadata during mount, and any user-set overrides (such
as bad values injected by tests) will survive.

Because Client instances may also open sessions without
mounting to send commands, add a call into populate_metadata
from mds_command as well.

Fixes: http://tracker.ceph.com/issues/18361
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 1dbff09)
@jcsp jcsp added bug-fix cephfs Ceph File System labels Jan 16, 2017
@jcsp jcsp changed the title client: populate metadata during mount kraken: client: populate metadata during mount Jan 16, 2017
@ukernel ukernel self-requested a review January 18, 2017 07:16
@smithfarm smithfarm added this to the kraken milestone Jan 20, 2017
@jcsp
Copy link
Contributor Author

jcsp commented Jan 25, 2017

@jcsp jcsp merged commit f36efa7 into ceph:kraken Jan 25, 2017
@jcsp jcsp deleted the wip-18361-kraken branch January 25, 2017 23:30
@smithfarm smithfarm changed the title kraken: client: populate metadata during mount kraken: cephfs: client: populate metadata during mount Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix cephfs Ceph File System
Projects
None yet
3 participants