lkml.org 
[lkml]   [1996]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectwritev() "bug"
From
Date
This doesn't quite qualify as a bug, but it's something I think should
be changed. Currently writev(3) allows a maximum of 8 iov's in the io
vector; if more than 8 are specified, it returns EINVAL. IMHO, this
is far too small, especially for an arbitrary limit: SunOS supports up
to 16, and OSF/1 (aka Digital UNIX) supports up to 1024. I'd like to
see MAX_IOVEC increased to at least 16, and preferably more than that.

Also, note that MAX_IOVEC is not the correct name for this parameter:
a brief survey (consisting of DEC OSF/1 and NetBSD-current) seems to
indicate that UIO_MAXIOV is the right name.

-Marc


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.026 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site