[pnfs] [PATCH 02/12] pnfsd-lexp: fs/nfsd/pnfsd_lexp.c skeleton and Makefile changes

david m. richter richterd at gmail.com
Mon Jun 16 15:59:49 EDT 2008


On Mon, Jun 16, 2008 at 2:24 PM, Benny Halevy <bhalevy at panasas.com> wrote:
> Signed-off-by: Benny Halevy <bhalevy at panasas.com>
> ---
>  fs/nfsd/Makefile     |    1 +
>  fs/nfsd/pnfsd_lexp.c |   23 +++++++++++++++++++++++
>  2 files changed, 24 insertions(+), 0 deletions(-)
>  create mode 100644 fs/nfsd/pnfsd_lexp.c
>
> diff --git a/fs/nfsd/Makefile b/fs/nfsd/Makefile
> index 7438a77..3f74fa5 100644
> --- a/fs/nfsd/Makefile
> +++ b/fs/nfsd/Makefile
> @@ -12,3 +12,4 @@ nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o
>  nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \
>                           nfs4acl.o nfs4callback.o nfs4recover.o
>  nfsd-$(CONFIG_PNFSD)   += nfs4filelayoutxdr.o nfs4pnfsds.o
> +nfsd-$(CONFIG_PNFSD_LOCAL_EXPORT) += pnfsd_lexp.o
> diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c
> new file mode 100644
> index 0000000..36744f7
> --- /dev/null
> +++ b/fs/nfsd/pnfsd_lexp.c
> @@ -0,0 +1,23 @@
> +/*
> + * linux/fs/nfsd/pnfs_lexp.c
> + *
> + * pNFS export of local filesystems.
> + *
> + * Export local file systems over the files layout type.
> + * The MDS (metadata server) functions also as a single DS (data server).
> + * This is mostly useful for development and debugging purposes.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * Copyright (C) 2008 Benny Halevy, <bhalevy at panasas.com>
> + *
> + * Initial implementation was based on the pnfs-gfs2 patches done
> + * by David M. Richter <richterd at citi.umich.edu>

ok probably overkill even to mention it, but in the interest of
fairness,  Frank Filz ("Frank Filz <ffilzlnx at us.ibm.com>") and i
worked together.  :)

now, i say "probably overkill" because it's not very much code and
because the two of us had lots of help from Marc Eshel and Dean
Hildebrand and and and.. -- see?  :) overkill!  but i just wanted to
chime in about frank -- maybe easiest just to drop mention of names
and just stick with "pnfs-gfs2 patches"?  sorry for the stupid hassle.

neat idea for the pNFS/local export approach!

thanks, d.

> + */
> +
> +#if defined(CONFIG_PNFSD_LOCAL_EXPORT)
> +
> +#endif /* CONFIG_PNFSD_LOCAL_EXPORT */
> --
> 1.5.3.3
>
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>


More information about the pNFS mailing list