]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r230803
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 14 Feb 2012 05:12:52 +0000 (05:12 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 14 Feb 2012 05:12:52 +0000 (05:12 +0000)
commit67a37e8cc61651c84049b836876c3d0cd0562ee7
treec8fe86af8589286e9f5ad7fa326d43b80099980d
parentbc175649482f65669a7853dc25cb39c4094d7acf
MFC: r230803
When a "mount -u" switches an NFS mount point from TCP to UDP,
any thread doing an I/O RPC with a transfer size greater than
NFS_UDPMAXDATA will be hung indefinitely, retrying the RPC.
After a discussion on freebsd-fs@, I decided to add a warning
message for this case, as suggested by Jeremy Chadwick.

git-svn-id: svn://svn.freebsd.org/base/stable/8@231637 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clvfsops.c
sys/nfsclient/nfs_vfsops.c