]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
fuse: Switch to using async direct IO for FOPEN_DIRECT_IO
authorMartin Raiber <martin@urbackup.org>
Sat, 27 Oct 2018 16:48:48 +0000 (16:48 +0000)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 13 Feb 2019 12:15:14 +0000 (13:15 +0100)
commit23c94e1cdcbf5953cd380555d0781caa42311870
treef4c0121360024ae66e244cdbca544cc281cb72e4
parent75126f5504524dd0f24753d8815db42d9ab23614
fuse: Switch to using async direct IO for FOPEN_DIRECT_IO

Switch to using the async directo IO code path in fuse_direct_read_iter()
and fuse_direct_write_iter().  This is especially important in connection
with loop devices with direct IO enabled as loop assumes async direct io is
actually async.

Signed-off-by: Martin Raiber <martin@urbackup.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c