<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 10/19/10 7:33 AM, Vilobh Meshram wrote:
    <blockquote
      cite="mid:AANLkTimj53P0mnF1Wy=bN2+Sb=NnMyg8UgYKLyB7ks8=@mail.gmail.com"
      type="cite"><font style="color: rgb(51, 51, 255);" color="#3333ff"><font
          size="2"><font face="times new roman,serif">Hi,<br>
            <br>
            Out of the many RPC's used in Lustre seems like LDLM_ENQUEUE
            is the most frequently used RPC to communicate between the
            client and the MDS.I have few queries regarding the same :-<br>
            <br>
            1) Is LDLM_ENQUEUE the only interface(RPC here) for
            CREATE/OPEN kind of request ; through which the client can
            interact with the MDS ? <br>
            <br>
            I tried couple of experiments </font></font></font><font
        style="color: rgb(51, 51, 255);" color="#3333ff"><font size="2"><font
            face="times new roman,serif">and found out that LDLM_ENQUEUE
            comes into picture while mounting the FS as well as when we
            do a lookup,create or open a file.</font></font></font><span
        style="color: rgb(51, 51, 255);">I was expecting the MDS_REINT
        RPC to get invoked in case of a CREATE/OPEN request via
        mdc_create() but it seems like Lustre invokes LDLM_ENQEUE even
        for CREATE/OPEN( by packing the intent related data).</span><br
        style="color: rgb(51, 51, 255);">
      <font style="color: rgb(51, 51, 255);" color="#3333ff"><font
          size="2"><font face="times new roman,serif">Please correct me
            if I am wrong.<br>
          </font></font></font></blockquote>
    For OPEN_CREATE case, it is through LDLM_ENQUEUE interface to
    communicate with MDS.<font style="color: rgb(51, 51, 255);"
      color="#3333ff"><font size="2"><font face="times new roman,serif"><br>
        </font></font></font>
    <blockquote
      cite="mid:AANLkTimj53P0mnF1Wy=bN2+Sb=NnMyg8UgYKLyB7ks8=@mail.gmail.com"
      type="cite"><font style="color: rgb(51, 51, 255);" color="#3333ff"><font
          size="2"><font face="times new roman,serif"><br>
          </font></font></font><font style="color: rgb(51, 51, 255);"
        color="#3333ff"><font size="2"><font face="times new
            roman,serif">2) In which cases (which system calls) does the
            MDS_REINT RPC will get invoked ? <br>
          </font></font></font></blockquote>
    You can try mkdir/symlink/mknode to trigger MDS_REINT.<br>
    <br>
    <br>
    Cheers,<br>
    --<br>
    Nasf<br>
    <blockquote
      cite="mid:AANLkTimj53P0mnF1Wy=bN2+Sb=NnMyg8UgYKLyB7ks8=@mail.gmail.com"
      type="cite"><font style="color: rgb(51, 51, 255);" color="#3333ff"><font
          size="2"><font face="times new roman,serif">
            <br>
            <br clear="all">
          </font></font></font><font style="color: rgb(51, 51, 255);"
        color="#3333ff" size="2"><font face="'times new roman', serif">Thanks,<br>
          Vilobh<br>
        </font></font><i style="color: rgb(51, 51, 255);"><font
          style="color: rgb(51, 51, 255);" size="2">Graduate Research
          Associate<br>
          Department of Computer Science<br>
          The Ohio State University Columbus Ohio</font></i><br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Lustre-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-devel@lists.lustre.org">Lustre-devel@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-devel">http://lists.lustre.org/mailman/listinfo/lustre-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>