Konstantin Belousov 526d0bd547 Fix found places where uio_resid is truncated to int.
Add the sysctl debug.iosize_max_clamp, enabled by default. Setting the
sysctl to zero allows to perform the SSIZE_MAX-sized i/o requests from
the usermode.

Discussed with:	bde, das (previous versions)
MFC after:	1 month
2012-02-21 01:05:12 +00:00
..
2011-12-16 15:47:43 +00:00
2011-12-16 15:47:43 +00:00
2011-12-15 20:31:18 +00:00
2011-12-16 15:47:43 +00:00
2011-12-15 20:31:18 +00:00
2011-12-16 15:47:43 +00:00
2011-12-16 15:47:43 +00:00
2011-12-16 15:47:43 +00:00