<div dir="ltr">You can use posix-locks i.e. fnctl based advisory locks on glusterfs just like any other fs.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 4, 2018 at 8:30 AM, Lei Gong <span dir="ltr">&lt;<a href="mailto:lgong@alauda.io" target="_blank">lgong@alauda.io</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div bgcolor="white" link="#0563C1" vlink="#954F72" lang="ZH-CN">
<div class="m_6133864767750559632WordSection1">
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US">Hello there</span><span style="font-size:10.5pt">,<span lang="EN-US"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US">I want to know if there is a feature allow user to add lock on a file when their app is modifying that file, so that other apps could use the file when its unlocked.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US">Thanks<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt" lang="EN-US">Lei <u></u><u></u></span></p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div>