ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.pod
(Generate patch)

Comparing libeio/eio.pod (file contents):
Revision 1.26 by root, Mon Jul 18 02:59:58 2011 UTC vs.
Revision 1.27 by root, Sun Jul 24 03:32:54 2011 UTC

592=item eio_readahead (int fd, off_t offset, size_t length, int pri, eio_cb cb, void *data) 592=item eio_readahead (int fd, off_t offset, size_t length, int pri, eio_cb cb, void *data)
593 593
594Calls C<readahead(2)>. If the syscall is missing, then the call is 594Calls C<readahead(2)>. If the syscall is missing, then the call is
595emulated by simply reading the data (currently in 64kiB chunks). 595emulated by simply reading the data (currently in 64kiB chunks).
596 596
597=item eio_syncfs (int fd, int pri, eio_cb cb, void *data)
598
599Calls Linux' C<syncfs> syscall, if available. Returns C<-1> and sets
600C<errno> to C<ENOSYS> if the call is missing I<but still calls sync()>,
601if the C<fd> is C<< >= 0 >>, so you can probe for the availability of the
602syscall with a negative C<fd> argument and checking for C<-1/ENOSYS>.
603
597=item eio_sync_file_range (int fd, off_t offset, size_t nbytes, unsigned int flags, int pri, eio_cb cb, void *data) 604=item eio_sync_file_range (int fd, off_t offset, size_t nbytes, unsigned int flags, int pri, eio_cb cb, void *data)
598 605
599Calls C<sync_file_range>. If the syscall is missing, then this is the same 606Calls C<sync_file_range>. If the syscall is missing, then this is the same
600as calling C<fdatasync>. 607as calling C<fdatasync>.
601 608

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines