summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authoryangyun <yangyun50@huawei.com>2024-08-26 15:06:12 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2024-10-25 17:05:49 +0200
commitcc23d537e56153560bb2f88fd826675a5a8c6af6 (patch)
treeabc017c362ba888d520582a6a842d2b1aaadffb6 /virt
parentfuse: enable dynamic configuration of fuse max pages limit (FUSE_MAX_MAX_PAGES) (diff)
downloadlinux-cc23d537e56153560bb2f88fd826675a5a8c6af6.tar.xz
linux-cc23d537e56153560bb2f88fd826675a5a8c6af6.zip
fuse: remove useless IOCB_DIRECT in fuse_direct_read/write_iter
Commit 23c94e1cdcbf ("fuse: Switch to using async direct IO for FOPEN_DIRECT_IO") gave the async direct IO code path in the fuse_direct_read_iter() and fuse_direct_write_iter(). But since these two functions are only called under FOPEN_DIRECT_IO is set, it seems that we can also use the async direct IO even the flag IOCB_DIRECT is not set to enjoy the async direct IO method. Also move the definition of fuse_io_priv to where it is used in fuse_ direct_write_iter. Signed-off-by: yangyun <yangyun50@huawei.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions