1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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
This commit is contained in:
Konstantin Belousov 2013-10-15 06:35:22 +00:00
parent bf3e483b44
commit cd4dd444dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256503

View File

@ -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;