Last call: removing the INT_MAX limit on max i/o size

Alfred Perlstein alfred at freebsd.org
Sat Feb 18 08:43:39 UTC 2012


* Poul-Henning Kamp <phk at phk.freebsd.dk> [120218 00:34] wrote:
> In message <20120218074655.GF31998 at elvis.mu.org>, Alfred Perlstein writes:
> 
> >I always wonder if it's worth defining a type for this, resid_t or
> >something,
> 
> Wouldn't that naturally be size_t ?

I think that makes sense.  I was thinking along the lines of making
sure that functions that take a resid_t aren't actually being
passed the wrong ssize_t, but really that's probably too much fence
and just would obfuscate things.

-- 
- Alfred Perlstein
.- VMOA #5191, 03 vmax, 92 gs500, 85 ch250, 07 zx10
.- FreeBSD committer


More information about the freebsd-arch mailing list