Skip to content

nvme: Adapt to logging changes in libnvme#1346

Merged
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:update-logging
Feb 1, 2022
Merged

nvme: Adapt to logging changes in libnvme#1346
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:update-logging

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Jan 31, 2022

libnvme allows to define which file descriptor should be used for
logging. This is only for the fabric related interface relevant hence
this is attached to the nvme_root_r object.

Use common code for this into a helper which maps the verbose command
line levels to the correct log levels and setup nvme_root_r
accordingly.

Signed-off-by: Daniel Wagner dwagner@suse.de

See

Update to the latest version of libnvme.
@igaw igaw changed the title [WIP] nvme: Adapt to logging changes in libnvme nvme: Adapt to logging changes in libnvme Feb 1, 2022
libnvme allows to define which file descriptor should be used for
logging. This is only for the fabric related interface relevant hence
this is attached to the nvme_root_r object.

Use common code for this into a helper which maps the verbose command
line levels to the correct log levels.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
@igaw
Copy link
Copy Markdown
Collaborator Author

igaw commented Feb 1, 2022

No need to move the include libnvme into the nvme.h header file with the latest version.

@igaw igaw merged commit e290046 into linux-nvme:master Feb 1, 2022
@igaw igaw deleted the update-logging branch February 1, 2022 10:57
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