Another fix for r253823; retain the default of 1 readahead block for sendfile.

Submitted by:	glebius
Obtained from:	Netflix
MFC after:	3 days
This commit is contained in:
Scott Long 2013-07-31 15:55:01 +00:00
parent 0fd8fddb96
commit fcd9ff2c67

View File

@ -122,7 +122,7 @@ counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)];
int nsfbufs;
int nsfbufspeak;
int nsfbufsused;
static int sfreadahead = MAXPHYS / MAXBSIZE;
static int sfreadahead = 1;
SYSCTL_INT(_kern_ipc, OID_AUTO, nsfbufs, CTLFLAG_RDTUN, &nsfbufs, 0,
"Maximum number of sendfile(2) sf_bufs available");