<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 02/01/2013 11:44 AM, Song wrote:<br>
    </div>
    <blockquote cite="mid:00bd01ce0043$6ed5b070$4c811150$@com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:&#23435;&#20307;;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@&#23435;&#20307;";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-US">I have compared the source code of
            features/locks between 3.2.7 and 3.3.1. I find &nbsp;mutex lock
            is added in various functions, such as get_domain function.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-US">Are these changes updated to 3.2.7 branch?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"
            lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
                lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
              lang="EN-US"> Anand Avati [<a class="moz-txt-link-freetext" href="mailto:anand.avati@gmail.com">mailto:anand.avati@gmail.com</a>] <br>
              <b>Sent:</b> Friday, February 01, 2013 4:18 AM<br>
              <b>To:</b> Song<br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:gluster-devel@nongnu.org">gluster-devel@nongnu.org</a><br>
              <b>Subject:</b> Re: [Gluster-devel] glusterfs(3.2.7) hang
              when making the same dir at the same time<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Can you please verify if
            this issue exists in the master HEAD? There have been quite
            a few locking changes/fixes recently and this may be a
            specific case of those issues.<o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><span
              lang="EN-US">Avati<o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"><span lang="EN-US">On Thu, Jan 24, 2013
                at 12:02 AM, Song &lt;<a moz-do-not-send="true"
                  href="mailto:gluster@163.com" target="_blank">gluster@163.com</a>&gt;
                wrote:<o:p></o:p></span></p>
            <div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Hi,<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Recently, glusterfs will hang when we
                    do stress testing. To find the reason, we write a
                    test shell script.<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">We run the test shell on 5 servers at
                    the same time. For a moment, all test programming is
                    hang.<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">When execute command &#8220;cd
                    /xmail/gfs1/scl_test/001&#8221;, also hang.<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">The test shell script:<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
                      lang="EN-US">for((i=1;i&lt;=100;i++));</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
                      lang="EN-US">do </span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">rmdir /xmail/gfs1/scl_test/001</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">if [ "$?" == "0" ];</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">then </span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:21.0pt"><i><span
                      lang="EN-US">echo "delete dir success"</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">fi </span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
                      lang="EN-US">&nbsp;</span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">mkdir /xmail/gfs1/scl_test/001</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">if [ "$?" == "0" ];</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">then </span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:21.0pt"><i><span
                      lang="EN-US">echo "create dir success"</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">fi</span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
                      lang="EN-US">&nbsp;</span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">echo "1111"
                      &gt;&gt;/xmail/gfs1/scl_test/001/001.txt</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">echo "2222"
                      &gt;&gt;/xmail/gfs1/scl_test/001/002.txt</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">echo "3333"
                      &gt;&gt;/xmail/gfs1/scl_test/001/003.txt</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
                      lang="EN-US">&nbsp;</span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">rm -rf
                      /xmail/gfs1/scl_test/001/001.txt</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">rm -ff
                      /xmail/gfs1/scl_test/001/002.txt</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:10.5pt"><i><span
                      lang="EN-US">rm -rf
                      /xmail/gfs1/scl_test/001/003.txt</span></i><span
                    lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
                      lang="EN-US">done</span></i><span lang="EN-US"><o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&#8220;/xmail/gfs1&#8221; is native mount point of
                    gluster volume gfs1.<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Gluster volume info is as below:<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">[root@d181 glusterfs]# gluster volume
                    info<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Volume Name: gfs1<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Type: Distributed-Replicate<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Status: Started<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Number of Bricks: 30 x 3 = 90<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Transport-type: tcp<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">Please help me, Thanks!<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    lang="EN-US">&nbsp;<o:p></o:p></span></p>
              </div>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><span
                lang="EN-US"><br>
                _______________________________________________<br>
                Gluster-devel mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.nongnu.org/mailman/listinfo/gluster-devel"
                  target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><o:p></o:p></span></p>
          </div>
          <p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a>
<a class="moz-txt-link-freetext" href="https://lists.nongnu.org/mailman/listinfo/gluster-devel">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a>
</pre>
    </blockquote>
    Song,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; They are not ported back to 3.2 branch.<br>
    Pranith.<br>
  </body>
</html>