[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    svn commit: r253840 - head/sys/kern
From:       Scott Long <scottl () FreeBSD ! org>
Date:       2013-07-31 15:55:02
Message-ID: 201307311555.r6VFt2tX012918 () svn ! freebsd ! org
[Download RAW message or body]

Author: scottl
Date: Wed Jul 31 15:55:01 2013
New Revision: 253840
URL: http://svnweb.freebsd.org/changeset/base/253840

Log:
  Another fix for r253823; retain the default of 1 readahead block for sendfile.
  
  Submitted by:	glebius
  Obtained from:	Netflix
  MFC after:	3 days

Modified:
  head/sys/kern/uipc_syscalls.c

Modified: head/sys/kern/uipc_syscalls.c
==============================================================================
--- head/sys/kern/uipc_syscalls.c	Wed Jul 31 12:35:06 2013	(r253839)
+++ head/sys/kern/uipc_syscalls.c	Wed Jul 31 15:55:01 2013	(r253840)
@@ -122,7 +122,7 @@ counter_u64_t sfstat[sizeof(struct sfsta
 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");
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic