[lustre-devel] [PATCH 11/20] lustre: ptlrpc: lower the message level in no resend case
James Simmons <[email protected]>
| Newsgroups | org.lustre.lists.lustre-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Yang Sheng <[email protected]> Don't report the wrong generation as a error message in rq_no_resend case. WC-bug-id: https://jira.whamcloud.com/browse/LU-16166 Lustre-commit: d13cca56a5ae2ad44 ("LU-16166 ptlrpc: lower the message level in no resend case") Signed-off-by: Yang Sheng <[email protected]> Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48585 Reviewed-by: Emoly Liu <[email protected]> Reviewed-by: Andreas Dilger <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: James Simmons <[email protected]> --- fs/lustre/ptlrpc/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/lustre/ptlrpc/client.c b/fs/lustre/ptlrpc/client.c index 069ffdf6f93f..5f0ff476db6a 100644 --- a/fs/lustre/ptlrpc/client.c +++ b/fs/lustre/ptlrpc/client.c @@ -1227,7 +1227,8 @@ static int ptlrpc_import_delay_req(struct obd_import *imp, DEBUG_REQ(D_NET, req, "IMP_INVALID"); *status = -ESHUTDOWN; /* bz 12940 */ } else if (req->rq_import_generation != imp->imp_generation) { - DEBUG_REQ(D_ERROR, req, "req wrong generation:"); + DEBUG_REQ(req->rq_no_resend ? D_INFO : D_ERROR, + req, "req wrong generation:"); *status = -EIO; } else if (req->rq_send_state != imp->imp_state) { /* invalidate in progress - any requests should be drop */ -- 2.27.0 _______________________________________________ lustre-devel mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org