[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Tue, 2008-01-29 at 14:32 +0000, Steven Whitehouse wrote:
> >From 9fdea9ec9922417b9c884edbf27db9f83600cf95 Mon Sep 17 00:00:00 2001
> From: Steven Whitehouse <swhiteho redhat com>
> 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 <swhiteho redhat com>
> 
> diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c

ACK fwiw

Regards,

Bob Peterson



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]