Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 06:35:22 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256503 - head/sys/kern
Message-ID:  <201310150635.r9F6ZN5w057702@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Oct 15 06:35:22 2013
New Revision: 256503
URL: http://svnweb.freebsd.org/changeset/base/256503

Log:
  By default, allow up to SSIZE_MAX i/o for non-devfs files.
  
  Sponsored by:	The FreeBSD Foundation
  Reminded by:	Dmitry Sivachenko <trtrmitya@gmail.com>
  MFC after:	1 month
  X-MFC-note:	stable/10 only

Modified:
  head/sys/kern/sys_generic.c

Modified: head/sys/kern/sys_generic.c
==============================================================================
--- head/sys/kern/sys_generic.c	Tue Oct 15 06:33:10 2013	(r256502)
+++ head/sys/kern/sys_generic.c	Tue Oct 15 06:35:22 2013	(r256503)
@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
 
 #include <security/audit/audit.h>
 
-int iosize_max_clamp = 1;
+int iosize_max_clamp = 0;
 SYSCTL_INT(_debug, OID_AUTO, iosize_max_clamp, CTLFLAG_RW,
     &iosize_max_clamp, 0, "Clamp max i/o size to INT_MAX");
 int devfs_iosize_max_clamp = 1;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310150635.r9F6ZN5w057702>