mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
10
io_uring/sync.h
Normal file
10
io_uring/sync.h
Normal file
@@ -0,0 +1,10 @@
|
||||
// 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);
|
||||
Reference in New Issue
Block a user