linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: greearb@candelatech.com
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH v2 00/12] NFS: Support binding to source address
Date: Thu, 07 Jul 2011 14:26:21 -0700	[thread overview]
Message-ID: <4E16247D.4060307@candelatech.com> (raw)
In-Reply-To: <1308857388-12243-1-git-send-email-greearb@candelatech.com>

On 06/23/2011 12:29 PM, greearb@candelatech.com wrote:
> From: Ben Greear<greearb@candelatech.com>
>
> This lets one specify the source IP address for
> sockets, allowing users to leverage routing rules
> on multi-homed systems.
>
> Patches are also needed to nfs-utils.  These have been
> posted and will be accepted if the kernel support is
> accepted.
>
> v2:  Add patch 11 to bind the NLM client to the proper
>       source address as well.

Any comments on these patches?  Now that the work-queue v/s
rpc_killall_tasks race has been fixed, this code appears
stable under heavy load.

I'd love to see this accepted upstream!

Thanks,
Ben

>
> Ben Greear (12):
>    sunrpc: Don't attempt to bind to AF_UNSPEC address.
>    nfs: Two AF_UNSPEC addresses should always match each other.
>    nfs: Add srcaddr member to nfs_client.
>    nfs: Use request destination addr as callback source addr.
>    nfs: Pay attention to srcaddr in v4.1 callback logic.
>    nfs: Use srcaddr in nfs_match_client.
>    nfs: Add srcaddr to /proc/fs/nfsfs/servers
>    nfs: Pass srcaddr into mount request.
>    nfs: Propagate src-addr in client code.
>    nfs: Bind to srcaddr in rpcb_create.
>    lockd:  Support binding nlm client to specific address.
>    nfs: Support srcaddr= to bind to specific IP address.
>
>   fs/lockd/clntlock.c         |    3 +-
>   fs/lockd/host.c             |   17 +++++++++-
>   fs/nfs/callback.h           |    3 ++
>   fs/nfs/callback_proc.c      |    3 +-
>   fs/nfs/callback_xdr.c       |    3 ++
>   fs/nfs/client.c             |   73 ++++++++++++++++++++++++++++++++++++++++--
>   fs/nfs/internal.h           |   10 +++++-
>   fs/nfs/mount_clnt.c         |    1 +
>   fs/nfs/super.c              |   33 +++++++++++++++++++-
>   include/linux/lockd/bind.h  |    1 +
>   include/linux/lockd/lockd.h |    1 +
>   include/linux/nfs_fs_sb.h   |    4 ++
>   include/linux/sunrpc/clnt.h |    2 +
>   include/linux/sunrpc/svc.h  |    5 +++
>   net/sunrpc/rpcb_clnt.c      |   28 +++++++++++++++-
>   net/sunrpc/sunrpc.h         |   45 ++++++++++++++++++++++++++
>   net/sunrpc/xprtsock.c       |   47 +--------------------------
>   17 files changed, 223 insertions(+), 56 deletions(-)
>


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


      parent reply	other threads:[~2011-07-07 21:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23 19:29 [PATCH v2 00/12] NFS: Support binding to source address greearb
2011-06-23 19:29 ` [PATCH v2 01/12] sunrpc: Don't attempt to bind to AF_UNSPEC address greearb
2011-06-23 19:29 ` [PATCH v2 02/12] nfs: Two AF_UNSPEC addresses should always match each other greearb
2011-06-23 19:29 ` [PATCH v2 03/12] nfs: Add srcaddr member to nfs_client greearb
2011-06-23 19:29 ` [PATCH v2 04/12] nfs: Use request destination addr as callback source addr greearb
2011-06-23 19:29 ` [PATCH v2 05/12] nfs: Pay attention to srcaddr in v4.1 callback logic greearb
2011-06-23 19:29 ` [PATCH v2 06/12] nfs: Use srcaddr in nfs_match_client greearb
2011-06-23 19:29 ` [PATCH v2 07/12] nfs: Add srcaddr to /proc/fs/nfsfs/servers greearb
2011-06-23 19:29 ` [PATCH v2 08/12] nfs: Pass srcaddr into mount request greearb
2011-06-23 19:29 ` [PATCH v2 09/12] nfs: Propagate src-addr in client code greearb
2011-06-23 19:29 ` [PATCH v2 10/12] nfs: Bind to srcaddr in rpcb_create greearb
2011-06-23 19:29 ` [PATCH v2 11/12] lockd: Support binding nlm client to specific address greearb
2011-06-23 19:29 ` [PATCH v2 11/12] nfs: Support srcaddr= to bind to specific IP address greearb
2011-06-23 19:29 ` [PATCH v2 12/12] lockd: Support binding nlm client to specific address greearb
2011-06-23 19:29 ` [PATCH v2 12/12] nfs: Support srcaddr= to bind to specific IP address greearb
2011-07-07 21:26 ` Ben Greear [this message]

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=4E16247D.4060307@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-nfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).