<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 07/01/2014 12:58 PM, COCHE S&eacute;bastien
      wrote:<br>
    </div>
    <blockquote
cite="mid:1F5F942CDD72D840988906E4FE5B9BC27E1CE8@INFWPMES02.joinmyit.dom"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pr&eacute;format&eacute; HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.PrformatHTMLCar
        {mso-style-name:"Pr&eacute;format&eacute; HTML Car";
        mso-style-priority:99;
        mso-style-link:"Pr&eacute;format&eacute; HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
p.Preacute, li.Preacute, div.Preacute
        {mso-style-name:"Pr&eacute\,format&eacute\,HTML";
        mso-style-link:"Pr&eacute1\,format&eacute1\,HTML Car1";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.Preacute1
        {mso-style-name:"Pr&eacute1\,format&eacute1\,HTML Car1";
        mso-style-priority:99;
        mso-style-link:"Pr&eacute\,format&eacute\,HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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="color:#1F497D" lang="EN-US">Does
            it mean that if I use gluster FUSE driver or NFS client,
            fcntl locks are manages and no data corruption could happen
            ?</span></p>
      </div>
    </blockquote>
    Yes.<br>
    <br>
    Pranith<br>
    <blockquote
cite="mid:1F5F942CDD72D840988906E4FE5B9BC27E1CE8@INFWPMES02.joinmyit.dom"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <div>
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">S&eacute;bastien
                Coch&eacute;,</span></b><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line"><o:p></o:p></span></p>
          <p class="MsoNormal" style="margin-top:6.0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR">Architecte
              Infrastructure</span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">
              (DIP)<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">SIGMA
              Informatique &#8211;
            </span><u><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue;mso-fareast-language:FR;layout-grid-mode:line"><a
                  moz-do-not-send="true" href="http://www.sigma.fr/">www.sigma.fr</a><o:p></o:p></span></u></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR">8
              rue Newton &#8211; CS 84533 &#8211; 44245 LA CHAPELLE SUR ERDRE CEDEX<o:p></o:p></span></p>
          <p class="MsoNormal" style="mso-line-height-alt:0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">T&eacute;l&nbsp;:
            </span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR">(+33)
              2.53.48.92.57</span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">
              &#8211; Mob&nbsp;: 06 22 25 03 74</span><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <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;;color:windowtext;mso-fareast-language:FR">De&nbsp;:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext;mso-fareast-language:FR">
                Pranith Kumar Karampuri [<a class="moz-txt-link-freetext" href="mailto:pkarampu@redhat.com">mailto:pkarampu@redhat.com</a>] <br>
                <b>Envoy&eacute;&nbsp;:</b> lundi 30 juin 2014 18:08<br>
                <b>&Agrave;&nbsp;:</b> COCHE S&eacute;bastien<br>
                <b>Cc&nbsp;:</b> <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
                <b>Objet&nbsp;:</b> Re: [Gluster-users] Concurrent writes
                management.<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <div>
          <p class="MsoNormal">On 06/30/2014 09:26 PM, COCHE S&eacute;bastien
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Thank
              you for your response.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">I
              understand that the file exist only one time on the
              volume. But it can be accessed in write, by many nodes
              (clients) at the same time.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">What&#8217;s
              happen in those case ?</span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;mso-fareast-language:FR">Nothing
            bad will happen to the filesystem. But the file may not be
            meaningful if the applications writing to it don't
            synchronize overlapping concurrent writes with fcntl locks.<br>
            <br>
            Pranith <br>
            <br>
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">&nbsp;</span><o:p></o:p></p>
        <div>
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">S&eacute;bastien
                Coch&eacute;,</span></b><o:p></o:p></p>
          <p class="MsoNormal" style="margin-top:6.0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR">Architecte
              Infrastructure</span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">
              (DIP)</span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">SIGMA
              Informatique &#8211;
            </span><u><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue;mso-fareast-language:FR;layout-grid-mode:line"><a
                  moz-do-not-send="true" href="http://www.sigma.fr/">www.sigma.fr</a></span></u><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR">8
              rue Newton &#8211; CS 84533 &#8211; 44245 LA CHAPELLE SUR ERDRE CEDEX</span><o:p></o:p></p>
          <p class="MsoNormal" style="mso-line-height-alt:0pt"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">T&eacute;l&nbsp;:
            </span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-language:FR">(+33)
              2.53.48.92.57</span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:FR;layout-grid-mode:line">
              &#8211; Mob&nbsp;: 06 22 25 03 74</span><o:p></o:p></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <div>
          <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;;color:windowtext;mso-fareast-language:FR">De&nbsp;:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext;mso-fareast-language:FR">
                Pranith Kumar Karampuri [<a moz-do-not-send="true"
                  href="mailto:pkarampu@redhat.com">mailto:pkarampu@redhat.com</a>]
                <br>
                <b>Envoy&eacute;&nbsp;:</b> lundi 30 juin 2014 17:49<br>
                <b>&Agrave;&nbsp;:</b> COCHE S&eacute;bastien; <a moz-do-not-send="true"
                  href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
                <b>Objet&nbsp;:</b> Re: [Gluster-users] Concurrent writes
                management.</span><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 06/30/2014 07:49 PM, COCHE S&eacute;bastien
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span lang="EN-US">Hello</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US">I have a question
              regarding concurrent write.</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US">How are manage those
              writes ? Is there a risk of data corruption ?</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US">Is there a lock
              mechanism, against corruption ? If yes, how it work ?</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="EN-US">I already had a look
              to forum and documents but I did not found a deep dive
              explanation.</span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><span style="font-size:12.0pt">For plain
            distribute volumes there exists only one file in the volume
            with the data. All the operations on the file happen just
            like they happen on normal filesystem. For
            replicated/distributed replicated volumes there are internal
            locks taken by replication feature to avoid any
            in-consistencies.<br>
            Please check <a moz-do-not-send="true"
href="https://github.com/gluster/glusterfs/blob/master/doc/features/afr-v1.md">https://github.com/gluster/glusterfs/blob/master/doc/features/afr-v1.md</a>
            to know more about it.<br>
            <br>
            Pranith<br>
            <br>
            <br>
          </span><o:p></o:p></p>
        <p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span lang="EN-US">Thank for your feedback</span><o:p></o:p></p>
        <p class="MsoNormal"><span lang="EN-US">Sorry for my poor
            english&nbsp; ;-)</span><o:p></o:p></p>
        <p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal">Sebastien<o:p></o:p></p>
        <p class="MsoNormal"><span style="font-size:12.0pt"><br>
            <br>
            <br>
            <br>
          </span><o:p></o:p></p>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>Gluster-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></pre>
        <p class="MsoNormal"><span style="font-size:12.0pt">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;mso-fareast-language:FR"><o:p>&nbsp;</o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>