<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 14, 2010, at 02:51, Vilobh Meshram wrote:</div><blockquote type="cite"><font class="Apple-style-span" color="#000000"><br></font>

<div><font size="2"><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF"><br></font></font></font></div><div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">1) Is it possible that without writing a new RPC in Lustre 1.8.1.1 I can append some string such as "Hello" to the exsisting message sent by the Client (with the buffer size set at client side by the count,size fields).I tried modifying the "size" of the request for one of the RPC in-built in Lustre </font></font></div>

<div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF"><br></font></font></div><div><div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">         __u32 size[2] = { [MSG_PTLRPC_BODY_OFF] = sizeof(struct ptlrpc_body),</font></font></div>

<div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">                                    [DLM_LOCKREQ_OFF]     = sizeof(struct ldlm_request) };</font></font></div>

<div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF"><br></font></font></div><div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">---->> </font></font></div>

<div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">     __u32 size[3] = { [MSG_PTLRPC_BODY_OFF] = sizeof(struct ptlrpc_body),</font></font></div><div>

<font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">                                  [DLM_LOCKREQ_OFF]     = sizeof(struct ldlm_request) ,</font></font></div>

<div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">                                  //how to add "char *str=Hello" ofcourse we will have sizeof(str) but how to choose the MACRO like </font></font><span class="Apple-style-span" style="font-family: 'times new roman', serif; color: rgb(51, 51, 255); ">DLM_LOCKREQ_OFF bcz for a specific kind of RPC there are limited number of such MACROS</span></div>

<div><font class="Apple-style-span" face="'times new roman', serif"><font class="Apple-style-span" color="#3333FF">             </font></font></div></div></blockquote>should be better if you complete describe - what you want to do, because some requests can't changed easy without compatibility lost, - </div><div>like ELC (early lock cancel) feature which add extra buffer in messages and have special connect flag, to check request format changes.</div><div><br></div></body></html>