Skip to content

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

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

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

Conversation

@pull

@pull pull Bot commented Jun 22, 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 : )

ikegami-t and others added 4 commits June 22, 2026 21:39
This is to be consistent with the rest of the commands.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Every other fabrics command spells --transport as -t (via the shared
NVMF_ARGS macro), but disconnect-all defined its own option set with -r.
-t is the canonical transport short form and is now free on
disconnect-all, since --timeout no longer claims a short form, so switch
to it for consistency. This is a deliberate break with no -r alias.

While here, drop a stray (char *) cast on the option's value argument,
matching how the same option is declared elsewhere.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
These commands establish controller connections through libnvme but had
no way to record the connecting orchestrator's identity, so every
controller they created looked unowned and disconnect-all would tear it
down. Add a long-only --owner NAME option that calls libnvme_set_owner()
before connecting.

For connect-all and discover, --nbft already records owner=nbft so legacy
boot scripts get ownership for free. An explicit --owner now overrides
that default; a plain --nbft (no --owner) still records nbft, so the boot
path is unchanged.

--owner has no short form here, and disconnect-all's --owner loses its -O
short form to match, so --owner is long-only on every command.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
Attribute values are free-form -- only device and attribute names are
validated, never the value. Add a test that stores a value containing
spaces, double quotes, an apostrophe and punctuation, then confirms it
reads back byte-for-byte, so this guarantee cannot regress through
accidental escaping or sanitization of the value.

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