mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2068237 commit 0d58472740370108f8ece9076d79f736f53b5b77 Author: Jens Axboe <axboe@kernel.dk> Date: Tue May 24 21:25:19 2022 -0600 io_uring: split out fs related sync/fallocate functions This splits out sync_file_range, fsync, and fallocate. Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
11 lines
460 B
C
11 lines
460 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
int io_sfr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
|
int io_sync_file_range(struct io_kiocb *req, unsigned int issue_flags);
|
|
|
|
int io_fsync_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
|
int io_fsync(struct io_kiocb *req, unsigned int issue_flags);
|
|
|
|
int io_fallocate(struct io_kiocb *req, unsigned int issue_flags);
|
|
int io_fallocate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|