-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat(control): allow specifying max_namespaces on subsystem creation #150
Conversation
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 assume you have tried it and it works as expected?
I just was surprised to see the current behaviour you reported in #146 (i.e. max_ namespaces=32 by default). Because just glancing through the spdk code it seemed to me that if the param was not specified the default would be 0, i.e. unlimited.
Yes I did try, few observations below From GW CLI, [ubuntu@clara011 ceph-nvmeof]$ python3 -m control.cli get_subsystems From GW server, INFO:control.grpc:create_subsystem nqn.2016-06.io.spdk:cnode15: True DEBUG:control.state:omap_key generated: subsystem_nqn.2016-06.io.spdk:cnode15` |
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.
Need to change the title of the commit to follow Conventional Commits syntax as per https://github.com/ceph/ceph-nvmeof/blob/devel/CONTRIBUTING.md#commit-format.
d9bd88f
to
7877216
Compare
@rahullepakshi I see it changed but still not in accordance with https://www.conventionalcommits.org/en/v1.0.0/#summary. I have changed the title of the PR for you, please update the title of the commit to match it. |
Fixes ceph#146 Signed-off-by: rahullepakshi <rlepaksh@redhat.com>
@idryomov changed to match it. Will keep this updated going forward |
This PR gives user a flexibility to specify maximum number of namespaces in a subsystem
Fixes #146