From: "J. Bruce Fields" <bfields@fieldses.org>
To: maillists0@gmail.com
Cc: linux-nfs@vger.kernel.org
Subject: Re: Proxy
Date: Mon, 3 May 2010 14:56:50 -0400 [thread overview]
Message-ID: <20100503185650.GA9864@fieldses.org> (raw)
In-Reply-To: <l2wdc64e7231005030953xb72ad73az3f883167a1a637c8@mail.gmail.com>
On Mon, May 03, 2010 at 12:53:15PM -0400, maillists0@gmail.com wrote:
> With NFS4's support for referrals and Kerberos, it seems like the
> original reasons to prevent re-exporting of an NFS share might no
> longer exist. With fs-proxy making its way into the mainline kernel
> and things like cachefilesd, there are also very good reasons to allow
> it. A proxy server with a persistent cache could give the ability to
> robustly use shares across a WAN or do failover pairs with no need for
> more complex replication. Speaking as an end-user, this would be very
> desirable.
>
> I see that others have implemented proxies with user-space NFS, which
> seems reasonable but not optimal. What is the obstacle to allowing
> re-exports with the standard nfs implentation? Is it possible at the
> moment to patch a kernel to make this work? Anyone have experience
> with it? Any input is appreciated.
It's probably possible, but some kernel hacking would be required.
Off the top of my head:
- filehandles: you probably can't pass your server's filehandles
unchanged back to your client. At a minimum you'd want to add
a header allowing you to distinguish filehandles for the
different filesystems you export. What if you get a
filehandle from the server that's already at the protocol's
maximum size? Are you going to try to maintain your own
persistent mapping of filehandles, and if so, is it possible
to do that with reasonable performance?
- what do you do if your server takes a really long time to
answer a request? Or stops responding completely?
--b.
next prev parent reply other threads:[~2010-05-03 18:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 16:53 Proxy maillists0
2010-05-03 18:56 ` J. Bruce Fields [this message]
2010-05-03 19:25 ` Proxy Trond Myklebust
2010-05-03 21:14 ` Proxy maillists0
2010-05-03 22:16 ` Proxy Trond Myklebust
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=20100503185650.GA9864@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=maillists0@gmail.com \
/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