Re: [Cluster-devel] [PATCH v3] GFS2: Add a next-resource-group pointer to resource groups

2017-02-15 Thread Andreas Gruenbacher
On Tue, Feb 14, 2017 at 11:32 AM, Steven Whitehouse wrote: > Hi, > > > On 13/02/17 17:59, Andrew Price wrote: >> >> Add a new rg_skip field to struct gfs2_rgrp, replacing __pad. The >> rg_skip field has the following meaning: >> >> - If rg_skip is zero, it is considered unset

Re: [Cluster-devel] [PATCH] GFS2: Add a next-resource-group pointer to resource groups

2017-02-15 Thread Andreas Gruenbacher
On Tue, Jan 12, 2016 at 4:23 PM, Andrew Price wrote: > On 12/01/16 13:30, Andreas Gruenbacher wrote: >> >> Is it guaranteed that the kernel will never set the new rg_skip field >> if it hasn't verified that the next resource group is where it thinks >> it is? > > > No, but

Re: [Cluster-devel] [GFS2 PATCH] [take 2] GFS2: Non-recursive delete

2017-02-15 Thread Steven Whitehouse
Hi, On 15/02/17 15:53, Andreas Gruenbacher wrote: On Mon, Feb 13, 2017 at 10:44 PM, Bob Peterson wrote: Hi, On 30 January 2017, I posted a non-recursive algorithm for truncate and delete. Steve Whitehouse suggested I should be able to rewrite the algorithm without the

Re: [Cluster-devel] [GFS2 PATCH] [take 2] GFS2: Non-recursive delete

2017-02-15 Thread Andreas Gruenbacher
On Mon, Feb 13, 2017 at 10:44 PM, Bob Peterson wrote: > Hi, > > On 30 January 2017, I posted a non-recursive algorithm for truncate > and delete. Steve Whitehouse suggested I should be able to rewrite > the algorithm without the need for buffer lists that eat memory. > He