<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.&nbsp;<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.&nbsp;</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.&nbsp;</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).&nbsp;</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).&nbsp;</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.&nbsp;</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.&nbsp;</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.&nbsp;<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.&nbsp;</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.&nbsp;</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 &nbsp;operations to disk.&nbsp;</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).&nbsp;</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&nbsp; <br>
MDS_QUOTACTL&nbsp;<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.&nbsp;</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&nbsp;<br></div></div></div></blockquote><div><br></div>Currently unused (for CMD directory split, but will probably be removed and done differently).&nbsp;</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&nbsp;&nbsp;&nbsp; <br></div></div></div></blockquote><div><br></div>For CMD directory loop checking.&nbsp;</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.&nbsp;</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.&nbsp;</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&nbsp; <br></div></div></div></blockquote><div><br></div>Enqueue a new lock.&nbsp;</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&nbsp;&nbsp; <br></div></div></div></blockquote><div><br></div>Convert existing lock type (unused)&nbsp;</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 &nbsp;<br></div></div></div></blockquote><div><br></div>Cancel lock.&nbsp;</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 &nbsp;<br></div></div></div></blockquote><div><br></div>Callback from server to client to cancel existing lock or grant pending lock.&nbsp;</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 &nbsp;ls -l).&nbsp;</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>