<font style="color: rgb(51, 51, 255);" color="#3333ff" size="2"><font face="times new roman,serif"></font></font><font style="color: rgb(51, 51, 255);" color="#3333ff" size="2"><font face="times new roman,serif"><br><span style="font-family: trebuchet ms,sans-serif;">I want to understand the message encoding and decoding logic in Lustre.I am planning to send the lustre_msg 
(lustre_msg_v2) in the ptlrpc_request with some additional fields to the server (MDS). But when I add those fields I 
was not able to see their values at the Server end i.e MDS.For example say we now have 8 values + the variable size buffer which might be able to include the additional entries.So I want to add some additional entries to the variable part of the message.</span><br style="font-family: trebuchet ms,sans-serif;">


<br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">If you can please give me some insight on the way the Lustre File 
system encodes decodes the messages sent accross nodes it would be 
helpful.I have traced down the following code path  and see that </span></font></font><font style="color: rgb(51, 51, 255);" color="#3333ff" size="2"><font face="times new roman,serif"><span style="font-family: trebuchet ms,sans-serif;">inorder to send the message we need only three steps :-</span><br style="font-family: trebuchet ms,sans-serif;">

<span style="font-family: trebuchet ms,sans-serif;">ptlrpc_prep_req</span><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">ptlrpc_req_set_repsize</span><br style="font-family: trebuchet ms,sans-serif;">

<span style="font-family: trebuchet ms,sans-serif;">ptlrpc_queue_wait</span><br style="font-family: trebuchet ms,sans-serif;"><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">Do I need to take into consideration any other things ?</span><br style="font-family: trebuchet ms,sans-serif;">

<span style="font-family: trebuchet ms,sans-serif;">Any help in this regard will be highly useful.</span><br style="font-family: trebuchet ms,sans-serif;"><br style="font-family: trebuchet ms,sans-serif;"><span style="font-family: trebuchet ms,sans-serif;">Thanks,</span><br style="font-family: trebuchet ms,sans-serif;">

<span style="font-family: trebuchet ms,sans-serif;">Vilobh</span><br clear="all">
</font></font>