Skip to content

[pull] master from linux-nvme:master#239

Merged
pull[bot] merged 2 commits into
zengqingfu1442:masterfrom
linux-nvme:master
Jun 25, 2026
Merged

[pull] master from linux-nvme:master#239
pull[bot] merged 2 commits into
zengqingfu1442:masterfrom
linux-nvme:master

Conversation

@pull

@pull pull Bot commented Jun 25, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

fhassan-ibm and others added 2 commits June 25, 2026 09:35
The null check on ctrl was inverted, causing the function to return
early on successful allocation and dereference NULL on failure.
Fix the condition to correctly check for allocation failure.

Signed-off-by: Fahim Hassan <fahim.hassan@ibm.com>
The autoconnect units (nvmf-autoconnect.service and nvmf-connect@.service)
run "nvme connect-all" to bring up NVMe-oF controllers at boot and on
discovery events. With the ownership registry, a connection made without an
owner is recorded as unowned and therefore becomes a target for a plain
"nvme disconnect-all". Pass --owner=autoconnect on these invocations so the
controllers they create are attributed to the autoconnect machinery and
survive an ownership-aware disconnect-all.

Coincidentally, --owner=autoconnect lands in the same spot these units once
carried --context=autoconnect. The two are unrelated: --context was a
config-file filter (match entries by context) that went unused and was
removed; --owner attributes the connection in the registry.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
@pull pull Bot locked and limited conversation to collaborators Jun 25, 2026
@pull pull Bot added the ⤵️ pull label Jun 25, 2026
@pull
pull Bot merged commit 8e3592e into zengqingfu1442:master Jun 25, 2026
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.

1 participant