HardenedBSD/sys/nfsclient
Peter Wemm 7c1c33a7dd When using NFSv3, use the remote server's idea of the maximum file size
rather than assuming 2^64.  It may not like files that big. :-)
On the nfs server, calculate and report the max file size as the point
that the block numbers in the cache would turn negative.
(ie: 1099511627775 bytes (1TB)).

One of the things I'm worried about however, is that directory offsets
are really cookies on a NFSv3 server and can be rather large, especially
when/if the server generates the opaque directory cookies by using a local
filesystem offset in what comes out as the upper 32 bits of the 64 bit
cookie.  (a server is free to do this, it could save byte swapping
depending on the native 64 bit byte order)

Obtained from:	NetBSD
1998-05-30 16:33:58 +00:00
..
bootp_subr.c
krpc_subr.c
krpc.h
nfs_bio.c When using NFSv3, use the remote server's idea of the maximum file size 1998-05-30 16:33:58 +00:00
nfs_nfsiod.c Allow control of the attribute cache timeouts at mount time. 1998-05-19 07:11:27 +00:00
nfs_node.c Convert a couple of large allocations to use zones rather than malloc 1998-05-24 14:41:56 +00:00
nfs_socket.c Allow control of the attribute cache timeouts at mount time. 1998-05-19 07:11:27 +00:00
nfs_subs.c Convert a couple of large allocations to use zones rather than malloc 1998-05-24 14:41:56 +00:00
nfs_vfsops.c When using NFSv3, use the remote server's idea of the maximum file size 1998-05-30 16:33:58 +00:00
nfs_vnops.c When using NFSv3, use the remote server's idea of the maximum file size 1998-05-30 16:33:58 +00:00
nfs.h Convert a couple of large allocations to use zones rather than malloc 1998-05-24 14:41:56 +00:00
nfsargs.h Convert a couple of large allocations to use zones rather than malloc 1998-05-24 14:41:56 +00:00
nfsdiskless.h
nfsm_subs.h
nfsmount.h When using NFSv3, use the remote server's idea of the maximum file size 1998-05-30 16:33:58 +00:00
nfsnode.h
nfsstats.h Convert a couple of large allocations to use zones rather than malloc 1998-05-24 14:41:56 +00:00