summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2012-01-25 00:22:53 +0000
committerrmacklem <rmacklem@FreeBSD.org>2012-01-25 00:22:53 +0000
commit911de305602ff6d54ef262ead117c4a828f3e340 (patch)
treec530b4124fc83044c9646391fafc6de00b247fc5 /usr.sbin
parent538ff2e745ffc35d0f24d19ebc0315160097b97f (diff)
downloadFreeBSD-src-911de305602ff6d54ef262ead117c4a828f3e340.zip
FreeBSD-src-911de305602ff6d54ef262ead117c4a828f3e340.tar.gz
If a mount -u is done to either NFS client that switches it
from TCP to UDP and the rsize/wsize/readdirsize is greater than NFS_MAXDGRAMDATA, it is possible for a thread doing an I/O RPC to get stuck repeatedly doing retries. This happens because the RPC will use a resize/wsize/readdirsize that won't work for UDP and, as such, it will keep failing indefinitely. This patch returns an error for this case, to avoid the problem. A discussion on freebsd-fs@ seemed to indicate that returning an error was preferable to silently ignoring the "udp"/"mntudp" option. This problem was discovered while investigating a problem reported by pjd@ via email. MFC after: 2 weeks
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud