On Mon, 28 Jan 2013 16:32:55 -0500 Chuck Lever <chuck.lever@xxxxxxxxxx> wrote: > > On Jan 28, 2013, at 4:06 PM, Jeff Layton <jlayton@xxxxxxxxxx> wrote: > > > On Mon, 28 Jan 2013 15:54:26 -0500 > > Chuck Lever <chuck.lever@xxxxxxxxxx> wrote: > > > >> Since we don't know for sure how this works, we should have someone create unit tests to explore this, fix any bugs that are discovered, and ensure that it continues to work. > >> > > > > I'm fairly sure I understand how it works (though I did need to go back > > and refresh my memory here). I'm not sure how you'd go about writing > > such a test for this, but let me know if you do and I'll be happy to > > take a look. > > I guess I'm abusing the term "unit test." I mean simply that someone has a set up that uses link-local addresses and tries all the typical NFSv4 tests with it, and especially the ones that involve the DRC. > Well, there's the rub isn't it... In order to test that properly, you need a multi-homed server and clients on each end that have the *same* link-local address, so that the sockaddr_in6's only differ by scopeid. I'm not sure how to set something like that up. Maybe with virtualization somehow.? Even if you can though, it's not going to be easy to "bottle" such a test so you can trivially run it at will to check for regressions. -- Jeff Layton <jlayton@xxxxxxxxxx> -- 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