Skip to content

json: Enables json printing and ocp plugin without fabrics#3318

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:bgoing/enable-print-json-without-fabrics
Apr 27, 2026
Merged

json: Enables json printing and ocp plugin without fabrics#3318
igaw merged 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:bgoing/enable-print-json-without-fabrics

Conversation

@bgoing-micron-oss
Copy link
Copy Markdown
Contributor

Enables non fabrics-specific json functionality like printing and the ocp plugin when json-c is available, even if fabrics is disabled. Only nvme/json.c functionality is excluded when fabrics is disabled.

Enables non fabrics-specific json functionality like printing and the
ocp plugin when json-c is available, even if fabrics is disabled.
Only nvme/json.c functionality is excluded when fabrics is disabled.

Signed-off-by: Broc Going <bgoing@micron.com>
@bgoing-micron-oss
Copy link
Copy Markdown
Contributor Author

@igaw We have been testing the ocp plugin and json printing on Windows, which doesn't use fabrics. A recent change disabled json-c when fabrics was disabled, which broke that functionality for us. It looks like only nvme/json.c is fabrics-only, so I made the fabrics dependency only apply to that json support specifically.

@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Apr 27, 2026

Sorry, didn't realize this dependency. But sure this fix looks good! Thanks!

@igaw igaw merged commit 4b0603f into linux-nvme:master Apr 27, 2026
29 checks passed
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.

2 participants