<html><body bgcolor="#FFFFFF"><div>Vilobh Meshram wrote:</div><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
Amongst all these RPC which all are for lock related request and which
do not ask for locks .E.g OBD_PING does not asks for locks where as
LDLM_ENQUEUE is the main entry point for handling lock related
request.It would also be great if you can tell me with which system
call which RPC might be invoked.Thanks.<br>
<br>
<br>
MDS_CONNECT<br>
MDS_DISCONNECT<br></div></div></div></blockquote><div><br></div>These are used to do initial connect to the MDS service. <div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_GETSTATUS<br></div></div></div></blockquote><div><br></div>Gets the root inode for the filesystem. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_GETATTR<br></div></div></div></blockquote><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: 'times new roman', serif; color: rgb(51, 51, 255); ">MDS_GETATTR_NAME</div></div></div></blockquote></span><div><br></div>Gets inode attributes (by inode number or by name), but not used very often since client prefers to get attributes in conjunction with a lock. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_SETXATTR<br>
MDS_GETXATTR <br></div></div></div></blockquote><div><br></div>For getting or setting extended attributes (e.g. ACLs or user xattrs). </div><div><br></div><div><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_STATFS<br></div></div></div></blockquote><div><br></div>Gets filesystem space usage (blocks and inodes). </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_READPAGE<br></div></div></div></blockquote><div><br></div>Read aone or more directory pages. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_REINT<br></div></div></div></blockquote><div><br></div>All filesystem modifying RPCs. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_CLOSE<br></div></div></div></blockquote><div><br></div>Close a file. <br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_DONE_WRITING<br></div></div></div></blockquote><div><br></div>For size-on-mds, currently unused. </div><div><br></div><div><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_PIN</div></div></div></blockquote><div><br></div>Pin current working directory, currently unused. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_SYNC<br></div></div></div></blockquote><div><br></div>Sync MDT filesystem  operations to disk. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_SET_INFO<br></div></div></div></blockquote><div><br></div>Misc flags setting (e.g. Set client export read-only). </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_QUOTACHECK  <br>
MDS_QUOTACTL <br></div></div></div></blockquote><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: 'times new roman', serif; color: rgb(51, 51, 255); ">OBD_QC_CALLBACK</div></div></div></blockquote></span><div><br></div>For quota checks. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_WRITEPAGE <br></div></div></div></blockquote><div><br></div>Currently unused (for CMD directory split, but will probably be removed and done differently). </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
MDS_IS_SUBDIR    <br></div></div></div></blockquote><div><br></div>For CMD directory loop checking. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">

OBD_PING<br></div></div></div></blockquote><div><br></div>Export keepalive from client. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
OBD_LOG_CANCEL<br></div></div></div></blockquote><div><br></div>Complete distributed transaction. </div><div><br></div><div><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
LDLM_ENQUEUE  <br></div></div></div></blockquote><div><br></div>Enqueue a new lock. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
LDLM_CONVERT   <br></div></div></div></blockquote><div><br></div>Convert existing lock type (unused) </div><div><br></div><div><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
LDLM_CANCEL  <br></div></div></div></blockquote><div><br></div>Cancel lock. </div><div><br><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: times new roman,serif; color: rgb(51, 51, 255);">
LDLM_BL_CALLBACK <br>
LDLM_CP_CALLBACK  <br></div></div></div></blockquote><div><br></div>Callback from server to client to cancel existing lock or grant pending lock. </div><div><br><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><blockquote type="cite"><div><div class="gmail_quote"><div style="font-family: 'times new roman', serif; color: rgb(51, 51, 255); ">LDLM_GL_CALLBACK</div></div></div></blockquote><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><br></span></div>Trylock or return lock state to caller (for  ls -l). </span></div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);"><br></span></div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);">Cheers, Andreasw</span></div></body></html>