readv: parallel or sequential?

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Dec 7 04:02:12 PST 2007


In message <fjbb3v$n60$1 at ger.gmane.org>, Ivan Voras writes:


>Does this mean that, in effect, readv() is just a loop of read() calls
>(minus syscall overhead)?

It's more correct to say that read() is just a readv() with a single
iovec.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-fs mailing list