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

mds: remove max_mds config option #10914

Merged
merged 2 commits into from Sep 6, 2016
Merged

mds: remove max_mds config option #10914

merged 2 commits into from Sep 6, 2016

Conversation

batrick
Copy link
Member

@batrick batrick commented Aug 29, 2016

It is now required that all changes to max_mds use the run-time ceph fs set max_mds command. The rationale for this change is that it is confusing to have a configuration for max_mds which is only observed at file system creation.

Fixes: http://tracker.ceph.com/issues/17105

@renhwztetecs
Copy link
Contributor

👍

@jcsp
Copy link
Contributor

jcsp commented Aug 30, 2016

Reviewed-by

@@ -530,7 +530,7 @@ OPTION(mds_inject_traceless_reply_probability, OPT_DOUBLE, 0) /* percentage
OPTION(mds_wipe_sessions, OPT_BOOL, 0)
OPTION(mds_wipe_ino_prealloc, OPT_BOOL, 0)
OPTION(mds_skip_ino, OPT_INT, 0)
OPTION(max_mds, OPT_INT, 1)
OPTION(max_mds, OPT_INT, 1) // Obsolete and ignored! Use `ceph fs set max_mds` instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just kill it entirely? I don't think unknown config options will break anything, and leaving it in is confusing.

It is now required that all changes to max_mds use the run-time `ceph fs
set max_mds` command. The rationale for this change is that it is
confusing to have a configuration for max_mds which is only observed at
file system creation.

Fixes: http://tracker.ceph.com/issues/17105

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This makes the necessary `ceph fs` calls to get it running.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick
Copy link
Member Author

batrick commented Sep 1, 2016

@gregsfortytwo thanks, I made that change.

@batrick batrick removed their assignment Sep 1, 2016
@jcsp jcsp merged commit 4a3085b into ceph:master Sep 6, 2016
@batrick batrick deleted the mds-no-maxmds branch September 6, 2016 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants