[Cluster-devel] [GFS2] Introduce array of buffers to struct metapath

Bob Peterson <[email protected]>
Newsgroups com.redhat.cluster-devel
Message-ID <[email protected]>
On Tue, 2008-01-29 at 14:32 +0000, Steven Whitehouse wrote:
> >From 9fdea9ec9922417b9c884edbf27db9f83600cf95 Mon Sep 17 00:00:00 2001
> From: Steven Whitehouse <[email protected]>
> 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 <[email protected]>
> 
> diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c

ACK fwiw

Regards,

Bob Peterson
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.