From: Neil Brown <neilb@suse.de>
To: Kevin Coffman <kwc@citi.umich.edu>
Cc: nfs@lists.sourceforge.net
Subject: Re: [PATCH 03/12] Extend the exportfs interface to pass fslocations info into the kernel.
Date: Fri, 9 Feb 2007 11:39:45 +1100 [thread overview]
Message-ID: <17867.49873.883604.237104@notabene.brown> (raw)
In-Reply-To: message from Kevin Coffman on Thursday February 8
On Thursday February 8, kwc@citi.umich.edu wrote:
> From: Kevin Coffman <kwc@citi.umich.edu>
>
> Signed-off-by: Fred Isaman <iisaman@citi.umich.edu>
> Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
>
> Extend exportfs interface to pass fslocations info into the kernel,
> using syntax modelled after AIX. Adds "--refer" and "--replicas"
> options to exportfs to enable use of the kernel fslocation code.
I cannot see the "--refer" and "--replicas" implemented or documented
in the patch. I think the changelog entry must be out of date, and
when we remove that sentence, there isn't much left....
> +/* Called by setting 'Method = stub' in config file. Just returns
> + * some syntactically correct gibberish for testing purposes.
> + */
> +static struct servers *method_stub(char *key)
> +{
> + struct servers *sp;
> + struct mount_point *mp;
> +
> + syslog(LOG_INFO, "called method_stub");
> + sp = malloc(sizeof(struct servers));
> + if (!sp)
> + return NULL;
> + mp = calloc(1, sizeof(struct mount_point));
> + if (!mp) {
> + free(sp);
> + return NULL;
> + }
> + sp->h_num = 1;
> + sp->h_mp[0] = mp;
> + mp->h_host = strdup("stub_server");
> + mp->h_path = strdup("/my/test/path");
> + sp->h_referral = 1;
> + return sp;
> +}
This makes perfect sense for testing during development, but do you
really want it in the released version?
If so, should there be "#ifdef DEBUG" or something around it ??
And I'm a little confused by the replicas_lookup, method_list stuff.
I think it is just parsing the format from /etc/exports so that it can
be written in the different format to the kernel.
It would seem more appropriate to do this when parsing the
/etc/exports (to /etab) file rather than every time we talk to the
kernel. Is there are reason for the way it is?
(Just trying to make sure I understand).
Thanks,
NeilBrown
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2007-02-09 0:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 22:26 [PATCH 00/12] misc nfs-utils patches Kevin Coffman
2007-02-08 22:26 ` [PATCH 01/12] Touch up some of the autotools files Kevin Coffman
2007-02-08 22:26 ` [PATCH 02/12] Add AM_MAINTAINER_MODE to configure.in Kevin Coffman
2007-02-08 22:27 ` [PATCH 03/12] Extend the exportfs interface to pass fslocations info into the kernel Kevin Coffman
2007-02-09 0:39 ` Neil Brown [this message]
2007-02-09 14:19 ` Kevin Coffman
2007-02-22 5:17 ` Neil Brown
2007-02-08 22:27 ` [PATCH 04/12] Treat GSSAPI error codes as unsigned Kevin Coffman
2007-02-08 22:27 ` [PATCH 05/12] Fix memory leak in idmapd Kevin Coffman
2007-02-08 22:27 ` [PATCH 06/12] Stop using storage after free Kevin Coffman
2007-02-08 22:27 ` [PATCH 07/12] Use the gssglue version of gssapi.h for svcgssd_mech2file.c Kevin Coffman
2007-02-08 22:27 ` [PATCH 08/12] Various minor manpage fixes Kevin Coffman
2007-02-08 22:27 ` [PATCH 09/12] Use owner rather than filename format in choosing cred cache files Kevin Coffman
2007-02-08 22:27 ` [PATCH 10/12] Share handling of lucid_sec_context for Heimdal and MIT Kevin Coffman
2007-02-08 22:27 ` [PATCH 11/12] Remove duplicated code Kevin Coffman
2007-02-08 22:27 ` [PATCH 12/12] Add option to svcgssd to enable libnfsidmap debugging Kevin Coffman
2007-02-08 22:57 ` NFSv3 + krb5 home directory problem Jim Davis
2007-02-09 2:53 ` Kevin Coffman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17867.49873.883604.237104@notabene.brown \
--to=neilb@suse.de \
--cc=kwc@citi.umich.edu \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox