Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-09-04 Thread John Hubbard
On 8/9/19 3:58 PM, ira.we...@intel.com wrote: > From: Ira Weiny > > Add an exclusive lease flag which indicates that the layout mechanism > can not be broken. After studying the rest of these discussions extensively, I think in all cases FL_EXCLUSIVE is better named "unbreakable", rather than

Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-09-04 Thread Jeff Layton
On Thu, 2019-08-29 at 16:34 -0700, Ira Weiny wrote: > Missed this. sorry. > > On Mon, Aug 26, 2019 at 06:41:07AM -0400, Jeff Layton wrote: > > On Thu, 2019-08-15 at 07:56 +1000, Dave Chinner wrote: > > > On Wed, Aug 14, 2019 at 10:15:06AM -0400, Jeff Layton wrote: > > > > On Fri, 2019-08-09 at

Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-08-29 Thread Ira Weiny
Missed this. sorry. On Mon, Aug 26, 2019 at 06:41:07AM -0400, Jeff Layton wrote: > On Thu, 2019-08-15 at 07:56 +1000, Dave Chinner wrote: > > On Wed, Aug 14, 2019 at 10:15:06AM -0400, Jeff Layton wrote: > > > On Fri, 2019-08-09 at 15:58 -0700, ira.we...@intel.com wrote: > > > > From: Ira Weiny

Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-08-26 Thread Jeff Layton
On Thu, 2019-08-15 at 07:56 +1000, Dave Chinner wrote: > On Wed, Aug 14, 2019 at 10:15:06AM -0400, Jeff Layton wrote: > > On Fri, 2019-08-09 at 15:58 -0700, ira.we...@intel.com wrote: > > > From: Ira Weiny > > > > > > Add an exclusive lease flag which indicates that the layout mechanism > > >

Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-08-14 Thread Dave Chinner
On Wed, Aug 14, 2019 at 10:15:06AM -0400, Jeff Layton wrote: > On Fri, 2019-08-09 at 15:58 -0700, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > Add an exclusive lease flag which indicates that the layout mechanism > > can not be broken. > > > > Exclusive layout leases allow the file

Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-08-14 Thread Jeff Layton
On Fri, 2019-08-09 at 15:58 -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > Add an exclusive lease flag which indicates that the layout mechanism > can not be broken. > > Exclusive layout leases allow the file system to know that pages may be > GUP pined and that attempts to change the

[RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-08-09 Thread ira . weiny
From: Ira Weiny Add an exclusive lease flag which indicates that the layout mechanism can not be broken. Exclusive layout leases allow the file system to know that pages may be GUP pined and that attempts to change the layout, ie truncate, should be failed. A process which attempts to break