Missing <aio_misc.h> exported header ?
Xavier Roche
xavier.roche@algolia.com
Thu Aug 22 11:53:00 GMT 2019
Dear glibc users,
The librt's <aio_misc.h> (which can be found in
sysdeps/pthread/aio_misc.h) header file seems not to be exported as
public header file (like <aio.h> is)
I was wondering if there was a reason behind this ?
The LIO_DSYNC/LIO_SYNC operations are implemented in glibc's librt and
seem perfectly working (providing much better performances when
syncing a lot of small files, specifically):
/* Extend the operation enum. */
enum
{
LIO_DSYNC = LIO_READ + 1,
LIO_SYNC,
LIO_READ64 = LIO_READ | 128,
LIO_WRITE64 = LIO_WRITE | 128
};
[ Also note that the sysdeps/generic/aio_misc.h version includes the
erroneous LIO_DSYNC definition (b8744bea9bf, fix by Roland McGrath a
long time ago) ]
Regards,
Xavier Roche
More information about the Libc-help
mailing list