Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
libnvme.24569
0001-fabrics-Lower-log-level-in-__nvmf_add_ctrl...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fabrics-Lower-log-level-in-__nvmf_add_ctrl.patch of Package libnvme.24569
From: Daniel Wagner <dwagner@suse.de> Date: Thu, 14 Apr 2022 12:01:43 +0200 Subject: fabrics: Lower log level in __nvmf_add_ctrl Git-commit: 9282931a5b92892b4d3445c906062abf16899d7f References: bsc#1199994 9df8676d2db6 ("Add logging functionality to libnvme") introduced the logging. The log level for writing to /dev/nvme-fabrics was set on NOTICE because the kernel reports also status information such EALREADY which is a soft error. 866c288a456f ("fabrics: update log level for write failures") increased the log level without taking this into account. Drop back to NOTICE level to avoid error message when doing $ nvme connect-all .... Failed to write to /dev/nvme-fabrics: Operation already in progress Signed-off-by: Daniel Wagner <dwagner@suse.de> --- src/nvme/fabrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvme/fabrics.c b/src/nvme/fabrics.c index 2a26843b4e70..9a00bfcb0275 100644 --- a/src/nvme/fabrics.c +++ b/src/nvme/fabrics.c @@ -521,7 +521,7 @@ static int __nvmf_add_ctrl(nvme_root_t r, const char *argstr) (int)strcspn(argstr,"\n"), argstr); ret = write(fd, argstr, len); if (ret != len) { - nvme_msg(r, LOG_ERR, "Failed to write to %s: %s\n", + nvme_msg(r, LOG_NOTICE, "Failed to write to %s: %s\n", nvmf_dev, strerror(errno)); ret = -ENVME_CONNECT_WRITE; goto out_close; -- 2.36.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor