[lustre-devel] [PATCH 13/49] lustre: log: Add ending newline for some messages.
James Simmons
jsimmons at infradead.org
Wed Apr 14 21:02:05 PDT 2021
From: Lei Feng <flei at whamcloud.com>
Some log messages don't have ending newline. So two log messages
will be merged into one line and cause error for parsing program.
Add ending newline for these messages.
WC-bug-id: https://jira.whamcloud.com/browse/LU-14431
Lustre-commit: 503bf7f29a499140 ("LU-14431 log: Add ending newline for some messages.")
Signed-off-by: Lei Feng <flei at whamcloud.com>
Reviewed-on: https://review.whamcloud.com/41723
Reviewed-by: Li Xi <lixi at ddn.com>
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: Anjus George <georgea at ornl.gov>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/ptlrpc/llog_client.c | 2 +-
fs/lustre/ptlrpc/service.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/lustre/ptlrpc/llog_client.c b/fs/lustre/ptlrpc/llog_client.c
index 79764cf..8bbff60 100644
--- a/fs/lustre/ptlrpc/llog_client.c
+++ b/fs/lustre/ptlrpc/llog_client.c
@@ -53,7 +53,7 @@
} else { \
CERROR("ctxt->loc_imp == NULL for context idx %d." \
"Unable to complete MDS/OSS recovery," \
- "but I'll try again next time. Not fatal.\n", \
+ "but I'll try again next time. Not fatal.\n", \
ctxt->loc_idx); \
imp = NULL; \
mutex_unlock(&ctxt->loc_mutex); \
diff --git a/fs/lustre/ptlrpc/service.c b/fs/lustre/ptlrpc/service.c
index b341877..f3f94d4 100644
--- a/fs/lustre/ptlrpc/service.c
+++ b/fs/lustre/ptlrpc/service.c
@@ -596,7 +596,7 @@ struct ptlrpc_service *ptlrpc_register_service(struct ptlrpc_service_conf *conf,
strlen(cconf->cc_pattern),
0, ncpts - 1, &el);
if (rc != 0) {
- CERROR("%s: invalid CPT pattern string: %s",
+ CERROR("%s: invalid CPT pattern string: %s\n",
conf->psc_name, cconf->cc_pattern);
return ERR_PTR(-EINVAL);
}
--
1.8.3.1
More information about the lustre-devel
mailing list