RTEMS | Draft: cpukit/posix/aio*: added support for O_DSYNC (!128)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Fri Jul 26 09:36:17 UTC 2024
Alessandro Nardin commented on a discussion on cpukit/posix/src/aio_fsync.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/128#note_109946
> rtems_set_errno_and_return_minus_one( EAGAIN );
>
> req->aiocbp = aiocbp;
> - req->aiocbp->aio_lio_opcode = LIO_SYNC;
> -
> + if ( op == O_SYNC )
> + req->aiocbp->aio_lio_opcode = LIO_SYNC;
> + else
> + req->aiocbp->aio_lio_opcode = LIO_DSYNC;
added
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/128#note_109946
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240726/6c45ba1d/attachment.htm>
More information about the bugs
mailing list