mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 12:55:04 +07:00
staging: lustre: mdc: always use D_INFO for debug info when mdc_put_rpc_lock fails
Also use D_INFO no matter what the error returned from mdc_put_rpc_lock. Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: wang di <di.wang@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4973 Reviewed-on: http://review.whamcloud.com/10150 Reviewed-by: Mike Pershin <mike.pershin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d806f30e63
commit
7aca4ae34c
@ -841,9 +841,8 @@ int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo,
|
||||
mdc_put_rpc_lock(obddev->u.cli.cl_rpc_lock, it);
|
||||
|
||||
if (rc < 0) {
|
||||
CDEBUG_LIMIT((rc == -EACCES || rc == -EIDRM) ? D_INFO : D_ERROR,
|
||||
"%s: ldlm_cli_enqueue failed: rc = %d\n",
|
||||
obddev->obd_name, rc);
|
||||
CDEBUG(D_INFO, "%s: ldlm_cli_enqueue failed: rc = %d\n",
|
||||
obddev->obd_name, rc);
|
||||
|
||||
mdc_clear_replay_flag(req, rc);
|
||||
ptlrpc_req_finished(req);
|
||||
|
Loading…
Reference in New Issue
Block a user