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

don't try to reconfig a inactive/destroyed namespace #113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kin-cho
Copy link

@kin-cho kin-cho commented Sep 30, 2019

In namespace_reconfig, quit early if input namespace is of size 0
(inactive/destroyed), specifically setup_namespace should not be called.

@stellarhopper
Copy link
Member

Hm, I'm wondering if we shouldn't go the other way and /alllow/ reconfiguring an inactive namespace. Seems like a reasonable thing one might expect to do. @djbw Thoughts?

@djbw
Copy link
Member

djbw commented Oct 22, 2019

@stellarhopper agree. A reconfig on a namespace with p.size == 0 should reconfigure to a maximally sized namespace with create-namespace defaults. This would seem to need some other pending fixups:

https://lore.kernel.org/linux-nvdimm/156479006271.707590.298793474092813749.stgit@dwillia2-desk3.amr.corp.intel.com/

In particular:

https://lore.kernel.org/linux-nvdimm/156426367330.531577.13173216611909512565.stgit@dwillia2-desk3.amr.corp.intel.com/

@hramrach
Copy link
Contributor

hramrach commented Mar 9, 2022

Those pending fixups have been applied.

Is there any remaining issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants