[SRU] Ubuntu 22.04 - NVMe TCP - Host fails to reconnect to target after link down/link up sequence
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Michael Reed | ||
Jammy |
Fix Released
|
Medium
|
Michael Reed |
Bug Description
[Impact]
Ubuntu 22.04 host fails to reconnect successfully to the NVMe TCP target after link down event if the number of queues have changed post link down.
[Fix]
Following upstream patch set helps address the issue.
1.
nvmet: Expose max queues to configfs
https:/
2.
nvme-tcp: Handle number of queue changes
https:/
3.
nvme-rdma: Handle number of queue changes
https:/
The patch in Point 2 above helps address the failure to reconnect in NVMe TCP scenario.
Also, following patch addresses error code parsing issue in the reconnect sequence.
nvme-fabrics: parse nvme connect Linux error codes
https:/
[Test Plan]
1. Boot into Ubuntu 22.04 kernel without fix.
2. Establish connection to NVMe TCP target.
3. Toggle NIC link and bring link up after 10 seconds. When the NIC link is down, on the target increase the number of queues assigned to the controller.
4. Observe that connection to target is lost and after link comes up, controller from host tries to re-establish connection.
5. With patch, reconnection succeeds with higher number of queues
[Where problems could occur]
Regression risk is low to medium.
[Other Info]
Test Kernel Source
https:/
CVE References
information type: | Public → Private |
Changed in linux (Ubuntu): | |
assignee: | nobody → Michael Reed (mreed8855) |
description: | updated |
summary: |
- Ubuntu 22.04 - NVMe TCP - Host fails to reconnect to target after link - down/link up sequence + [SRU]Ubuntu 22.04 - NVMe TCP - Host fails to reconnect to target after + link down/link up sequence |
summary: |
- [SRU]Ubuntu 22.04 - NVMe TCP - Host fails to reconnect to target after + [SRU] Ubuntu 22.04 - NVMe TCP - Host fails to reconnect to target after link down/link up sequence |
Changed in linux (Ubuntu Jammy): | |
assignee: | nobody → Michael Reed (mreed8855) |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
information type: | Private → Public |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
I have created a test kernel in jammy with patches listed in the description. Please test it.
https:/ /people. canonical. com/~mreed/ dell/nvme/ bug_1989990/