From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Tue, 29 Jan 2008 14:26:31 -0600 Subject: [Cluster-devel] [GFS2] Introduce array of buffers to struct metapath In-Reply-To: <1201617129.22038.341.camel@quoit> References: <1201617129.22038.341.camel@quoit> Message-ID: <1201638391.18461.140.camel@technetium.msp.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, 2008-01-29 at 14:32 +0000, Steven Whitehouse wrote: > >From 9fdea9ec9922417b9c884edbf27db9f83600cf95 Mon Sep 17 00:00:00 2001 > From: Steven Whitehouse > Date: Tue, 29 Jan 2008 09:12:55 +0000 > Subject: [PATCH] [GFS2] Introduce array of buffers to struct metapath > > The reason for doing this is to allow all the block mapping code > to share the same array. As a result we can remove two arguments > from lookup_metapath since they are now returned via the array. > > We also add a function to drop all refs to buffer heads when we > are done with the metapath. The build_height function shares the > struct metapath, but currently still frees its own buffers, and > this will change in a future patch. > > Signed-off-by: Steven Whitehouse > > diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c ACK fwiw Regards, Bob Peterson