[RFC] [PATCH] Make lio_listio set errno to EIO on requests with invalid aio_lio_opcode
Ulrich Drepper
drepper@redhat.com
Sat Feb 25 19:44:00 GMT 2006
Suzuki wrote:
> If the opcode is not supported then that I/O operation should fail. For
> those requests, since we know that I/O operation has failed, even before
> enqueuing a request, shouldn't lio_listio() return EIO ?
No, there is no such requirement. The current code is correct and if a
program has problems it is that program's fault.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060225/bb7aee5f/attachment.sig>
More information about the Libc-alpha
mailing list