summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2012-01-26 00:07:34 +0000
committerrmacklem <rmacklem@FreeBSD.org>2012-01-26 00:07:34 +0000
commit429284bf629e67254a8321c40cdb0c495585f719 (patch)
treeb15002fa01fb9494235eb6472b2080c2d5dec569 /sys/nfsclient
parent49a54cdb6a869214d3452b208a2eca2ea1428c08 (diff)
downloadFreeBSD-src-429284bf629e67254a8321c40cdb0c495585f719.zip
FreeBSD-src-429284bf629e67254a8321c40cdb0c495585f719.tar.gz
Revert r230516, since it doesn't really fix the problem.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vfsops.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 5c257fc..82891f9 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -1116,23 +1116,6 @@ nfs_mount(struct mount *mp)
error = EIO;
goto out;
}
-
- /*
- * Cannot switch to UDP if current rsize/wsize/readdirsize is
- * too large, since there may be an I/O RPC in progress that
- * will get retried after the switch to the UDP socket. These
- * retries will fail over and over and over again.
- */
- if (args.sotype == SOCK_DGRAM &&
- (nmp->nm_rsize > NFS_MAXDGRAMDATA ||
- nmp->nm_wsize > NFS_MAXDGRAMDATA ||
- nmp->nm_readdirsize > NFS_MAXDGRAMDATA)) {
- vfs_mount_error(mp,
- "old rsize/wsize/readdirsize greater than UDP max");
- error = EINVAL;
- goto out;
- }
-
/*
* When doing an update, we can't change from or to
* v3, switch lockd strategies or change cookie translation
OpenPOWER on IntegriCloud