Re: [PATCH 1/2] sunrpc: split the vs_hidden flag into TCP and UDP variants (try #2)

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

 



On 06/25/10 01:47 PM, Jeff Layton wrote:
nfsd shares the same sockets between all NFS versions. We can't change
that since you don't know what NFS version you're getting a call for
until you read in the data. There's really no way around this.

That is worth mentioning in a documenting comment before nfsd4_dispatch().

I feel that we're adding yet another kludge to the NFSD infrastructure to preserve an aging user space API and transport design that was built for an era when all NFS versions would always use every transport and address family.

I agree with Peter that we should make an effort to use the RPC infrastructure as it was intended, in order to advertise the correct services and transport capabilities; and update our user space API to allow user space to have more fine-grained control over what the kernel will advertise and run. But perhaps that's for another day.
--
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