From: Kevin Wolf <kwolf@redhat.com>
To: Fiona Ebner <f.ebner@proxmox.com>
Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, hreitz@redhat.com,
qemu-stable@nongnu.org
Subject: Re: [PATCH 0/3] block/export/fuse: set FUSE_DIRECT_IO_ALLOW_MMAP flag to fix regression
Date: Fri, 5 Jun 2026 17:33:12 +0200 [thread overview]
Message-ID: <aiLsOMEQDfCG3jht@redhat.com> (raw)
In-Reply-To: <20260506145424.10249-1-f.ebner@proxmox.com>
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
prev parent reply other threads:[~2026-06-05 15:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 14:49 [PATCH 0/3] block/export/fuse: set FUSE_DIRECT_IO_ALLOW_MMAP flag to fix regression Fiona Ebner
2026-05-06 14:49 ` [PATCH 1/3] block/export/fuse: use struct fuse_init_in Fiona Ebner
2026-05-06 14:49 ` [PATCH 2/3] block/export/fuse: set FUSE_DIRECT_IO_ALLOW_MMAP flag to fix regression Fiona Ebner
2026-05-06 14:49 ` [PATCH 3/3] iotests: test shared mmap for fuse export Fiona Ebner
2026-06-05 15:33 ` Kevin Wolf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aiLsOMEQDfCG3jht@redhat.com \
--to=kwolf@redhat.com \
--cc=f.ebner@proxmox.com \
--cc=hreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox