| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
#ifndef _POSIX_IO_URING_H |
| 11 |
#define _POSIX_IO_URING_H |
| 12 |
|
| 13 |
#define POSIX_URING_MAX_ENTRIES 512 |
| 14 |
int |
| 15 |
posix_io_uring_on(xlator_t *this); |
| 16 |
|
| 17 |
int |
| 18 |
posix_io_uring_off(xlator_t *this); |
| 19 |
|
| 20 |
#ifdef HAVE_LIBURING |
| 21 |
int |
| 22 |
posix_readv(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, |
| 23 |
off_t offset, uint32_t flags, dict_t *xdata); |
| 24 |
|
| 25 |
int |
| 26 |
posix_writev(call_frame_t *frame, xlator_t *this, fd_t *fd, |
| 27 |
struct iovec *vector, int32_t count, off_t offset, uint32_t flags, |
| 28 |
struct iobref *iobref, dict_t *xdata); |
| 29 |
#endif |
| 30 |
|
| 31 |
#endif |