diff options
| author | Bernd Schubert <bschubert@ddn.com> | 2025-01-20 02:29:01 +0100 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-01-24 11:54:16 +0100 |
| commit | f773a7c2c3d934d00542c6471170066d150d152f (patch) | |
| tree | e286fb614c93f6c514a1eed16947235691c8079a /fs/fuse/fuse_dev_i.h | |
| parent | d0f9c62aaf7a98412b46a91fe7daad76b316b3b7 (diff) | |
| download | linux-next-f773a7c2c3d934d00542c6471170066d150d152f.tar.gz linux-next-f773a7c2c3d934d00542c6471170066d150d152f.zip | |
fuse: Add fuse-io-uring handling into fuse_copy
Add special fuse-io-uring into the fuse argument
copy handler.
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Luis Henriques <luis@igalia.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_dev_i.h')
| -rw-r--r-- | fs/fuse/fuse_dev_i.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/fuse/fuse_dev_i.h b/fs/fuse/fuse_dev_i.h index 21eb1bdb492d..4a8a4feb2df5 100644 --- a/fs/fuse/fuse_dev_i.h +++ b/fs/fuse/fuse_dev_i.h @@ -27,6 +27,10 @@ struct fuse_copy_state { unsigned int len; unsigned int offset; unsigned int move_pages:1; + unsigned int is_uring:1; + struct { + unsigned int copied_sz; /* copied size into the user buffer */ + } ring; }; static inline struct fuse_dev *fuse_get_dev(struct file *file) |
