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

NAS-128368 / None / nvme: acquire a new subsystem if no valid controllers assigned #178

Merged
merged 1 commit into from
May 23, 2024

Conversation

ixhamza
Copy link
Contributor

@ixhamza ixhamza commented May 22, 2024

Jira Ticket: NAS-128368

@ixhamza ixhamza requested review from amotin and usaleem-ix May 22, 2024 19:14
@bugclerk bugclerk changed the title nvme: acquire a new subsystem if no valid controllers assigned NAS-128368 / None / nvme: acquire a new subsystem if no valid controllers assigned May 22, 2024
if (strcmp(subsys->subnqn, subsysnqn))
continue;
if (!list_empty(&subsys->ctrls)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

In case of empty list seems you could just "continue" to reduce indentation. Otherwise looks good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Updated!

@ixhamza ixhamza merged commit b5186f5 into truenas/linux-6.6 May 23, 2024
6 checks passed
@bugclerk
Copy link

Not updating JIRA ticket https://ixsystems.atlassian.net/browse/NAS-128368 target versions as no JIRA version corresponds to this PR

@bugclerk
Copy link

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators May 23, 2024
@amotin amotin deleted the NAS-128368 branch May 23, 2024 13:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants