<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      <div class="moz-signature">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <br>
        <div class="moz-signature"><br>
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <title></title>
          <br>
        </div>
      </div>
      Le 09/09/2013 10:50, Xavier Hernandez a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:522D8BBB.4060005@datalab.es" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Al 09/09/13 09:59, En/na Olivier
        Desport ha escrit:<br>
      </div>
      <blockquote cite="mid:522D7FE6.5030003@ac-versailles.fr"
        type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        Hello,<br>
        <br>
        I've created a distribued volume with two bricks. The shares are
        partitioned in XFS. Locking doesn't seem to be activated : when
        I write in the same file with two different clients, no error
        occurs.<br>
        <br>
        What option should I enable on the volume to enable locking ?<br>
        <br>
      </blockquote>
      Locking is active always, however POSIX (the standard used by
      GlusterFS) does not impose an exclusive access to files. Under
      POSIX, it is the responsibility of the application to coordinate
      concurrent accesses to files using explicit calls to fcntl() to
      coordinate them. Even using this, another application can
      read/write the file if it does no use an explicit call to fcntl().<br>
      <br>
      Since GlusterFS is POSIX-compliant, it is the expected behavior
      that two clients could write to the same file at the same time.
      The resulting file may have a mix of writes from both clients.<br>
      <br>
      Best regards,<br>
      <br>
      Xavi<br>
    </blockquote>
    <br>
    <br>
    Thanks for your answer.<br>
    <br>
    <blockquote cite="mid:522D8BBB.4060005@datalab.es" type="cite"> &nbsp;<br>
      <blockquote cite="mid:522D7FE6.5030003@ac-versailles.fr"
        type="cite"> Thanks
        <div class="moz-signature">
          <div class="moz-signature"><br>
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <title></title>
            <br>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>