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

Retry CommonNamespaceIdentifier #88

Merged
merged 2 commits into from
Jun 22, 2023
Merged

Conversation

ajfloeder
Copy link
Contributor

@ajfloeder ajfloeder commented Jun 20, 2023

Retry identify common namespace during initialization to recover from intermittent failures seen during power cycle testing.

@ajfloeder ajfloeder force-pushed the retryIdentifyCommonNamespace branch from a5f1fbf to d6b580c Compare June 20, 2023 19:54
var err error
ns, err = s.device.IdentifyNamespace(CommonNamespaceIdentifier)
if err != nil {
if retryCount >= 2 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason this should be configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Leaving this alone for now to address other issues.

@ajfloeder ajfloeder merged commit 614afe5 into master Jun 22, 2023
@ajfloeder ajfloeder deleted the retryIdentifyCommonNamespace branch June 22, 2023 13:45
@ajfloeder ajfloeder linked an issue Jun 22, 2023 that may be closed by this pull request
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.

Retry identify common namespace command during initialization
3 participants