Re: [PATCH 30/32] NFS: Add a dns resolver for use with NFSv4 referrals and migration

Trond Myklebust
2009-08-20T22:23:30Z

On Thu, 2009-08-20 at 17:03 -0400, J. Bruce Fields wrote:
> On Wed, Aug 19, 2009 at 07:38:53PM -0400, Trond Myklebust wrote:
> > The NFSv4 and NFSv4.1 protocols both allow for the redirection of a=
client
> > from one server to another in order to support filesystem migration=
and
> > replication. For full protocol support, we need to add the ability =
to
> > convert a DNS host name into an IP address that we can feed to the =
RPC
> > client.
>=20
> Your current nfs-for-2.6.32 doesn't compile for me:
>=20
> In file included from fs/nfs/cache_lib.c:14:
> include/linux/sunrpc/rpc_pipe_fs.h:35: error: field =E2=80=98queue_t=
imeout=E2=80=99 has incomplete type
>=20
> (I wonder why you weren't seeing this?)

Odd. Neither Ubuntu 9.04 nor Fedora 11 flagged the above error when I
compiled it.
A few days ago I had the same issue with some of Benny's stuff. He swor=
e
he couldn't reproduce the error with his copy of gcc, whereas mine
flagged it immediately.

Anyhow, I'm committing your fix. Thanks for reporting it.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com