[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-help
Subject:    Missing <aio_misc.h> exported header ?
From:       xavier.roche () algolia ! com (Xavier Roche)
Date:       2019-08-22 11:53:00
Message-ID: CAE9vp3Lw5VN0K=U=FpmeGsqYUu+YoWUMZXttmJLak4K-eMr5fA () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic