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

trid: Take Host NQN into account #379

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

martin-belanger
Copy link
Collaborator

When booting from SAN (BFS), the Host NQN specified in the NBFT files is often different from the Host NQN specified in /etc/nvme/hostnqn. Therefore, connections made after the system is fully booted will be made with a different Host NQN than the connections made during boot. nvme-stas did not consider the Host NQN when scanning for existing connections, which means that it would reuse a BFS connection when in fact it needed to create a new one using a different Host NQN.

Note that the same issue is seen in nvme-cli and libnvme as well. These will need to be fixed separately.

When booting from SAN (BFS), the Host NQN specified in the NBFT
files is often different from the Host NQN specified in
/etc/nvme/hostnqn. Therefore, connections made after the system
is fully booted will be made with a different Host NQN than the
connections made during boot. nvme-stas did not consider the Host
NQN when scanning for existing connections, which means that it
would reuse a BFS connection when in fact it needed to create a
new one using a different Host NQN.

Note that the same issue is seen in nvme-cli and libnvme as well.
These will need to be fixed separately.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
@martin-belanger martin-belanger merged commit f5eb169 into linux-nvme:main Aug 1, 2023
10 checks passed
@martin-belanger martin-belanger deleted the v2.3-rc3 branch August 16, 2023 13:33
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.

1 participant