Re: [Cluster-devel] [GFS2 PATCH] GFS2: Allocate reservation during splice_write

2015-02-19 Thread Steven Whitehouse
Hi, On 19/02/15 18:24, Bob Peterson wrote: Hi, This patch adds a GFS2-specific function for splice_write which first calls function gfs2_rs_alloc to make sure a reservation structure has been allocated before attempting to reserve blocks. Regards, Bob Peterson Red Hat File Systems

[Cluster-devel] [GFS2 PATCH] GFS2: Allocate reservation during splice_write

2015-02-19 Thread Bob Peterson
Hi, This patch adds a GFS2-specific function for splice_write which first calls function gfs2_rs_alloc to make sure a reservation structure has been allocated before attempting to reserve blocks. Regards, Bob Peterson Red Hat File Systems Signed-off-by: Bob Peterson rpete...@redhat.com ---

[Cluster-devel] [PATCH] libgfs2: Use the correct parent for rgrp tree insertion

2015-02-19 Thread Andrew Price
lgfs2_rgrps_append() was using the parent of the last rgrp instead of the last rgrp itself as the intended parent when inserting new rgrps into the tree. This left the tree unbalanced in such a way as to make lookups of the last node in the tree effectively a linear list search. This was done for