Skip to content
Snippets Groups Projects
Commit 64f4bd9d authored by Nathan Rutman's avatar Nathan Rutman
Browse files

b=10595

i=scjody
i=adilger
clients have imports, not exports
parent f2500beb
No related branches found
No related tags found
No related merge requests found
...@@ -608,13 +608,12 @@ static int ptlrpc_check_status(struct ptlrpc_request *req) ...@@ -608,13 +608,12 @@ static int ptlrpc_check_status(struct ptlrpc_request *req)
err = lustre_msg_get_status(req->rq_repmsg); err = lustre_msg_get_status(req->rq_repmsg);
if (lustre_msg_get_type(req->rq_repmsg) == PTL_RPC_MSG_ERR) { if (lustre_msg_get_type(req->rq_repmsg) == PTL_RPC_MSG_ERR) {
LCONSOLE_ERROR_MSG(0x011, "an error ocurred while communicating" struct obd_import *imp = req->rq_import;
" with %s The %s operation failed with %d", __u32 opc = lustre_msg_get_opc(req->rq_reqmsg);
req->rq_export ? LCONSOLE_ERROR_MSG(0x011,"an error occurred while communicating"
obd_export_nid2str(req->rq_export) " with %s. The %s operation failed with %d\n",
: "(no nid)", libcfs_nid2str(imp->imp_connection->c_peer.nid),
ll_opcode2str(lustre_msg_get_opc(req->rq_reqmsg)), ll_opcode2str(opc), err);
err);
RETURN(err < 0 ? err : -EINVAL); RETURN(err < 0 ? err : -EINVAL);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment