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:
parent
0fd8fddb96
commit
fcd9ff2c67
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user