Am 06.05.2026 um 16:49 hat Fiona Ebner geschrieben:
> Commit 8599559580 ("fuse: Set direct_io and parallel_direct_writes")
> broke use cases that require mmap() with MAP_SHARED on the export. In
> particular, swtpm_setup using its 'file://' protocol requires this.
> This is mentioned in the kernel documentation [0]:
>
> > To allow shared mmap, the FUSE_DIRECT_IO_ALLOW_MMAP flag may be
> > enabled in the FUSE_INIT reply.
>
> [0]: https://www.kernel.org/doc/html/next/filesystems/fuse/fuse-io.html
>
> Set the FUSE_DIRECT_IO_ALLOW_MMAP flag to restore compatibility with
> users requiring shared mmap.
Thanks, applied to the block branch.
Kevin