Re: [osol-code] [PATCH v2] Add preadv and pwritev system calls.

Dan Mick
2008-12-17T02:12:26Z

Arnd Bergmann wrote:
> On Monday 15 December 2008, Gerd Hoffmann wrote:
>> Jennifer Pioch wrote:
>>> On 12/12/08, Gerd Hoffmann <kraxel@redhat.com> wrote:
>>>> Free- and OpenBSD have it too. For Solaris I've found a feature request
>>>> only. Dunno about MacOS/Darwin. Other un*xes which are important these
>>>> days?
>>> Do you know the ID of the feature request?
>> #1167819 @ bugs.opensolaris.org
>>
>
> Looks like they've been working on it for some time:
> "Submit Date 25-MAY-1994"!
>
> Arnd <><

No one's expended any serious time on it at all, it looks like, other than
discussion.

I see the one comment says that it can be done with lio_listio(3RT) (apparently
in LIO_WAIT mode), and that interface does seem to offer all the preadv/pwritev
functionality. That's not to say that we shouldn't implement preadv/pwritev
literally, just that there should be a way to get that sort of functionality today.