Skip to content
Snippets Groups Projects
Commit 152ec0a6 authored by Eric Mei's avatar Eric Mei
Browse files

branch: b1_6

set msghdr flags right before rpc sent out.
b=15487
r=rread
r=shadow
parent 65a2ac00
No related branches found
No related tags found
No related merge requests found
......@@ -547,7 +547,6 @@ ptlrpc_prep_req_pool(struct obd_import *imp, __u32 version, int opcode,
atomic_set(&request->rq_refcount, 1);
lustre_msg_set_opc(request->rq_reqmsg, opcode);
lustre_msghdr_set_flags(request->rq_reqmsg, imp->imp_msghdr_flags);
RETURN(request);
}
......
......@@ -474,6 +474,8 @@ int ptl_send_rpc(struct ptlrpc_request *request, int noreply)
lustre_msg_set_type(request->rq_reqmsg, PTL_RPC_MSG_REQUEST);
lustre_msg_set_conn_cnt(request->rq_reqmsg,
request->rq_import->imp_conn_cnt);
lustre_msghdr_set_flags(request->rq_reqmsg,
request->rq_import->imp_msghdr_flags);
if (!noreply) {
LASSERT (request->rq_replen != 0);
......
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