On 6/30/22 3:13 AM, Pavel Begunkov wrote: > Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> > --- > src/include/liburing.h | 3 +++ > src/register.c | 14 ++++++++++++++ > 2 files changed, 17 insertions(+) > > diff --git a/src/include/liburing.h b/src/include/liburing.h > index bb2fb87..45b4da0 100644 > --- a/src/include/liburing.h > +++ b/src/include/liburing.h > @@ -186,6 +186,9 @@ int io_uring_unregister_buf_ring(struct io_uring *ring, int bgid); > int io_uring_register_sync_cancel(struct io_uring *ring, > struct io_uring_sync_cancel_reg *reg); > > +int io_uring_register_file_alloc_range(struct io_uring *ring, > + unsigned off, unsigned len); This should go into liburing.map as well. -- Jens Axboe