Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2012 00:43:38 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, arch@freebsd.org, current@freebsd.org
Subject:   Re: Last call: removing the INT_MAX limit on max i/o size
Message-ID:  <20120218084338.GG31998@elvis.mu.org>
In-Reply-To: <20791.1329554045@critter.freebsd.dk>
References:  <20120218074655.GF31998@elvis.mu.org> <20791.1329554045@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
* Poul-Henning Kamp <phk@phk.freebsd.dk> [120218 00:34] wrote:
> In message <20120218074655.GF31998@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



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