Re: [Gluster-devel] Issue with posix locks

2019-04-01 Thread Soumya Koduri
On 4/1/19 2:23 PM, Xavi Hernandez wrote: On Mon, Apr 1, 2019 at 10:15 AM Soumya Koduri > wrote: On 4/1/19 10:02 AM, Pranith Kumar Karampuri wrote: > > > On Sun, Mar 31, 2019 at 11:29 PM Soumya Koduri mailto:skod...@redhat.com> >

Re: [Gluster-devel] Issue with posix locks

2019-04-01 Thread Xavi Hernandez
On Mon, Apr 1, 2019 at 10:15 AM Soumya Koduri wrote: > > > On 4/1/19 10:02 AM, Pranith Kumar Karampuri wrote: > > > > > > On Sun, Mar 31, 2019 at 11:29 PM Soumya Koduri > > wrote: > > > > > > > > On 3/29/19 11:55 PM, Xavi Hernandez wrote: > > > Hi all, > >

Re: [Gluster-devel] Issue with posix locks

2019-04-01 Thread Soumya Koduri
On 4/1/19 10:02 AM, Pranith Kumar Karampuri wrote: On Sun, Mar 31, 2019 at 11:29 PM Soumya Koduri > wrote: On 3/29/19 11:55 PM, Xavi Hernandez wrote: > Hi all, > > there is one potential problem with posix locks when used in a >

Re: [Gluster-devel] Issue with posix locks

2019-04-01 Thread Xavi Hernandez
On Sun, Mar 31, 2019 at 7:59 PM Soumya Koduri wrote: > > > On 3/29/19 11:55 PM, Xavi Hernandez wrote: > > Hi all, > > > > there is one potential problem with posix locks when used in a > > replicated or dispersed volume. > > > > Some background: > > > > Posix locks allow any process to lock a

Re: [Gluster-devel] Issue with posix locks

2019-03-31 Thread Pranith Kumar Karampuri
On Sun, Mar 31, 2019 at 11:29 PM Soumya Koduri wrote: > > > On 3/29/19 11:55 PM, Xavi Hernandez wrote: > > Hi all, > > > > there is one potential problem with posix locks when used in a > > replicated or dispersed volume. > > > > Some background: > > > > Posix locks allow any process to lock a

Re: [Gluster-devel] Issue with posix locks

2019-03-31 Thread Soumya Koduri
On 3/29/19 11:55 PM, Xavi Hernandez wrote: Hi all, there is one potential problem with posix locks when used in a replicated or dispersed volume. Some background: Posix locks allow any process to lock a region of a file multiple times, but a single unlock on a given region will release

[Gluster-devel] Issue with posix locks

2019-03-29 Thread Xavi Hernandez
Hi all, there is one potential problem with posix locks when used in a replicated or dispersed volume. Some background: Posix locks allow any process to lock a region of a file multiple times, but a single unlock on a given region will release all previous locks. Locked regions can be different