Tag: KERNEL-2-2-18-PRE11-PATCH-38 Patch: nfs-rsize-4096 From: Dave Higgen Restore default NFS rsize to 4096. Index: linux/fs/nfs/inode.c diff -u linux/fs/nfs/inode.c:1.2.4.1 linux/fs/nfs/inode.c:1.2.4.2 --- linux/fs/nfs/inode.c:1.2.4.1 Wed Sep 27 23:51:26 2000 +++ linux/fs/nfs/inode.c Thu Sep 28 00:38:37 2000 @@ -459,9 +459,9 @@ goto failure_kill_reqlist; } - if (data->rsize == 0 && tcp) + if (data->rsize == 0) server->rsize = nfs_block_size(fsinfo.rtpref, NULL); - if (data->wsize == 0 && tcp) + if (data->wsize == 0) server->wsize = nfs_block_size(fsinfo.wtpref, NULL); /* NFSv3: we don't have bsize, but rather rtmult and wtmult... */ Index: linux/include/linux/nfs_fs.h diff -u linux/include/linux/nfs_fs.h:1.2.4.1 linux/include/linux/nfs_fs.h:1.2.4.2 --- linux/include/linux/nfs_fs.h:1.2.4.1 Thu Sep 28 00:09:41 2000 +++ linux/include/linux/nfs_fs.h Thu Sep 28 00:38:37 2000 @@ -34,7 +34,7 @@ #endif #define NFS_MAX_FILE_IO_BUFFER_SIZE 32768 -#define NFS_DEF_FILE_IO_BUFFER_SIZE 1024 +#define NFS_DEF_FILE_IO_BUFFER_SIZE 4096 /* * The upper limit on timeouts for the exponential backoff algorithm.