[Linux-cluster] no version for "gfs2_unmount_lockproto"

Brian Kroth bpkroth at wisc.edu
Tue Feb 12 18:46:26 UTC 2008


Bob Peterson <rpeterso at redhat.com>:
> Hi Wagner,
> 
> The HEAD / RHEL5 / (similar) versions of GFS use part of gfs2's
> locking infrastructure.  For RHEL5, we did a patch to export
> those symbols from GFS2.  The patch looks like the one I have
> below.  So the GFS2 module has to be loaded for GFS to work
> and that's just so GFS and GFS2 share the same locking protocol.
> (i.e. people can mount both gfs and gfs2 at the same time and
> go through the same dlm).  The exporting of those symbols did
> not get pushed into upstream GFS2 because it's only needed for
> GFS(1), which itself isn't part of the upstream kernel.
> 
> If you add these symbol exports to GFS2 it should allow GFS
> to mount properly.
> 
> Regards,
> 
> Bob Peterson
> Red Hat GFS
> --
> --- a/fs/gfs2/locking.c	2008-02-11 11:10:57.000000000 -0600
> +++ b/fs/gfs2/locking.c	2008-02-08 14:10:36.000000000 -0600
> @@ -181,4 +181,6 @@ void gfs2_withdraw_lockproto(struct lm_l
>  
>  EXPORT_SYMBOL_GPL(gfs2_register_lockproto);
>  EXPORT_SYMBOL_GPL(gfs2_unregister_lockproto);
> -
> +EXPORT_SYMBOL_GPL(gfs2_withdraw_lockproto);
> +EXPORT_SYMBOL_GPL(gfs2_mount_lockproto);
> +EXPORT_SYMBOL_GPL(gfs2_unmount_lockproto);

I'm curious.  Are there plans to include this patch in the mainline?  Any
reasons why or why not?

Thanks,
Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2192 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080212/807fbcd9/attachment.bin>


More information about the Linux-cluster mailing list