… | |
… | |
593 | as calling C<fdatasync>. |
593 | as calling C<fdatasync>. |
594 | |
594 | |
595 | Flags can be any combination of C<EIO_SYNC_FILE_RANGE_WAIT_BEFORE>, |
595 | Flags can be any combination of C<EIO_SYNC_FILE_RANGE_WAIT_BEFORE>, |
596 | C<EIO_SYNC_FILE_RANGE_WRITE> and C<EIO_SYNC_FILE_RANGE_WAIT_AFTER>. |
596 | C<EIO_SYNC_FILE_RANGE_WRITE> and C<EIO_SYNC_FILE_RANGE_WAIT_AFTER>. |
597 | |
597 | |
|
|
598 | =item eio_fallocate (int fd, int mode, off_t offset, off_t len, int pri, eio_cb cb, void *data) |
|
|
599 | |
|
|
600 | Calls C<fallocate> (note: I<NOT> C<posix_fallocate>!). If the syscall is |
|
|
601 | missing, then it returns failure and sets C<errno> to C<ENOSYS>. |
|
|
602 | |
|
|
603 | The C<mode> argument can be C<0> (for behaviour similar to |
|
|
604 | C<posix_fallocate>), or C<EIO_FALLOC_FL_KEEP_SIZE>, which keeps the size |
|
|
605 | of the file unchanged (but still preallocates space beyond end of file). |
|
|
606 | |
598 | =back |
607 | =back |
599 | |
608 | |
600 | =head3 LIBEIO-SPECIFIC REQUESTS |
609 | =head3 LIBEIO-SPECIFIC REQUESTS |
601 | |
610 | |
602 | These requests are specific to libeio and do not correspond to any OS call. |
611 | These requests are specific to libeio and do not correspond to any OS call. |