From 4c6b389e5432d9c018fd45c4a7e4f747d3bc3f3a Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 18 Jul 2009 15:09:40 -0700 Subject: [PATCH] NFS - Increase default read-ahead from 4 to 6 But continue to play nice with the server. --- sys/vfs/nfs/nfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vfs/nfs/nfs.h b/sys/vfs/nfs/nfs.h index dfaed7c1bf..a2284033c9 100644 --- a/sys/vfs/nfs/nfs.h +++ b/sys/vfs/nfs/nfs.h @@ -85,7 +85,7 @@ #define NFS_WSIZE 8192 /* Def. write data size <= 8192 */ #define NFS_RSIZE 8192 /* Def. read data size <= 8192 */ #define NFS_READDIRSIZE 8192 /* Def. readdir size */ -#define NFS_DEFRAHEAD 4 /* Def. read ahead # blocks */ +#define NFS_DEFRAHEAD 6 /* Def. read ahead # blocks */ #define NFS_MAXRAHEAD 32 /* Max. read ahead # blocks */ #define NFS_MAXASYNCBIO 64 /* Max. asynchronous BIOs */ #define NFS_MAXUIDHASH 64 /* Max. # of hashed uid entries/mp */ -- 2.41.0