Re: [PATCH] nfs-utils: Support binding to source address.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/08/2011 12:11 PM, J. Bruce Fields wrote:
On Wed, Jun 08, 2011 at 10:39:08AM -0700, greearb@xxxxxxxxxxxxxxx wrote:
From: Ben Greear<greearb@xxxxxxxxxxxxxxx>

This lets one specify the source IP address for
sockets, allowing users to leverage routing rules
on multi-homed systems.

Kernel patches to RPC and NFS are needed to complete
full functionality.

Possibly dumb question: there's an ongoing effort (I think--haven't
heard much from them recently?) to make the nfs and rpc code aware of
which network namespace it's running in.  Would that do what you need?

No, that doesn't help me.  But, this effort shouldn't hurt
any namespace users, and perhaps it would even help.

Does statd need changes too?

I don't know.  With this nfs-utils patch, and my kernel
changes, I was able to direct traffic out a specific
interface across a routed network to an nfs server
and do reads/writes.

(The default route was out a different interface, so
the binding and routing rules appear to work for all
needed communication.)

As long as there is a chance of getting this in, I plan to
clean up my kernel patches, break them into smaller chunks,
and post a series for consideration.

I'm not sure that the nfs-utils changes are actually that
useful w/out the kernel changes, but at least it shouldn't
hurt anything.

Thanks,
Ben


--b.


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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux