From: Stefan Hajnoczi <stefanha@redhat.com>
To: Hanna Czenczek <hreitz@redhat.com>
Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org,
Kevin Wolf <kwolf@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
Brian Song <hibriansong@gmail.com>
Subject: Re: [PATCH v3 00/21] export/fuse: Use coroutines and multi-threading
Date: Wed, 30 Jul 2025 13:19:30 -0400 [thread overview]
Message-ID: <20250730171930.GE74304@fedora> (raw)
In-Reply-To: <20250701114437.207419-1-hreitz@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 4423 bytes --]
On Tue, Jul 01, 2025 at 01:44:16PM +0200, Hanna Czenczek wrote:
> Hi,
>
> This series:
> - Fixes some bugs/minor inconveniences,
> - Removes libfuse from the request processing path,
> - Make the FUSE export use coroutines for request handling,
> - Introduces multi-threading into the FUSE export.
>
> More detail on the v1 cover letter:
> https://lists.nongnu.org/archive/html/qemu-block/2025-03/msg00359.html
>
> v2 cover letter:
> https://lists.nongnu.org/archive/html/qemu-block/2025-06/msg00040.html
>
>
> Changes from v2:
> - Patch 12: Moved qemu_fcntl_addfl() into the #ifndef _WIN32 section
> where other fcntl() wrappers reside
> - Patch 13: Fixed comment to say `export` instead of `exp`; kept
> Stefan’s R-b
> - Patch 15: Same as patch 13
> - Patch 18: In macro, use correct parameter `queue` instead of the
> non-existing `q`
>
>
> git-backport-diff from v2:
>
> Key:
> [----] : patches are identical
> [####] : number of functional differences between upstream/downstream patch
> [down] : patch is downstream-only
> The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
>
> 001/21:[----] [--] 'fuse: Copy write buffer content before polling'
> 002/21:[----] [--] 'fuse: Ensure init clean-up even with error_fatal'
> 003/21:[----] [--] 'fuse: Remove superfluous empty line'
> 004/21:[----] [--] 'fuse: Explicitly set inode ID to 1'
> 005/21:[----] [--] 'fuse: Change setup_... to mount_fuse_export()'
> 006/21:[----] [--] 'fuse: Fix mount options'
> 007/21:[----] [--] 'fuse: Set direct_io and parallel_direct_writes'
> 008/21:[----] [--] 'fuse: Introduce fuse_{at,de}tach_handlers()'
> 009/21:[----] [--] 'fuse: Introduce fuse_{inc,dec}_in_flight()'
> 010/21:[----] [--] 'fuse: Add halted flag'
> 011/21:[----] [--] 'fuse: Rename length to blk_len in fuse_write()'
> 012/21:[----] [-C] 'block: Move qemu_fcntl_addfl() into osdep.c'
> 013/21:[0008] [FC] 'fuse: Manually process requests (without libfuse)'
> 014/21:[----] [--] 'fuse: Reduce max read size'
> 015/21:[0008] [FC] 'fuse: Process requests in coroutines'
> 016/21:[----] [--] 'block/export: Add multi-threading interface'
> 017/21:[----] [--] 'iotests/307: Test multi-thread export interface'
> 018/21:[0016] [FC] 'fuse: Implement multi-threading'
> 019/21:[----] [--] 'qapi/block-export: Document FUSE's multi-threading'
> 020/21:[----] [--] 'iotests/308: Add multi-threading sanity test'
> 021/21:[----] [--] 'fuse: Increase MAX_WRITE_SIZE with a second buffer'
>
>
> Hanna Czenczek (21):
> fuse: Copy write buffer content before polling
> fuse: Ensure init clean-up even with error_fatal
> fuse: Remove superfluous empty line
> fuse: Explicitly set inode ID to 1
> fuse: Change setup_... to mount_fuse_export()
> fuse: Fix mount options
> fuse: Set direct_io and parallel_direct_writes
> fuse: Introduce fuse_{at,de}tach_handlers()
> fuse: Introduce fuse_{inc,dec}_in_flight()
> fuse: Add halted flag
> fuse: Rename length to blk_len in fuse_write()
> block: Move qemu_fcntl_addfl() into osdep.c
> fuse: Manually process requests (without libfuse)
> fuse: Reduce max read size
> fuse: Process requests in coroutines
> block/export: Add multi-threading interface
> iotests/307: Test multi-thread export interface
> fuse: Implement multi-threading
> qapi/block-export: Document FUSE's multi-threading
> iotests/308: Add multi-threading sanity test
> fuse: Increase MAX_WRITE_SIZE with a second buffer
>
> qapi/block-export.json | 39 +-
> include/block/export.h | 12 +-
> include/qemu/osdep.h | 1 +
> block/export/export.c | 48 +-
> block/export/fuse.c | 1181 ++++++++++++++++++++------
> block/export/vduse-blk.c | 7 +
> block/export/vhost-user-blk-server.c | 8 +
> block/file-posix.c | 17 +-
> nbd/server.c | 6 +
> util/osdep.c | 18 +
> tests/qemu-iotests/307 | 47 +
> tests/qemu-iotests/307.out | 18 +
> tests/qemu-iotests/308 | 55 +-
> tests/qemu-iotests/308.out | 61 +-
> 14 files changed, 1213 insertions(+), 305 deletions(-)
>
> --
> 2.49.0
>
Nice!
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2025-07-30 19:33 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-01 11:44 [PATCH v3 00/21] export/fuse: Use coroutines and multi-threading Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 01/21] fuse: Copy write buffer content before polling Hanna Czenczek
2025-10-13 13:48 ` Kevin Wolf
2025-07-01 11:44 ` [PATCH v3 02/21] fuse: Ensure init clean-up even with error_fatal Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 03/21] fuse: Remove superfluous empty line Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 04/21] fuse: Explicitly set inode ID to 1 Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 05/21] fuse: Change setup_... to mount_fuse_export() Hanna Czenczek
2025-10-13 13:50 ` Kevin Wolf
2025-07-01 11:44 ` [PATCH v3 06/21] fuse: Fix mount options Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 07/21] fuse: Set direct_io and parallel_direct_writes Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 08/21] fuse: Introduce fuse_{at,de}tach_handlers() Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 09/21] fuse: Introduce fuse_{inc,dec}_in_flight() Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 10/21] fuse: Add halted flag Hanna Czenczek
2025-10-13 16:18 ` Kevin Wolf
2025-07-01 11:44 ` [PATCH v3 11/21] fuse: Rename length to blk_len in fuse_write() Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 12/21] block: Move qemu_fcntl_addfl() into osdep.c Hanna Czenczek
2025-07-30 17:10 ` Stefan Hajnoczi
2025-07-01 11:44 ` [PATCH v3 13/21] fuse: Manually process requests (without libfuse) Hanna Czenczek
2025-10-22 12:19 ` Kevin Wolf
2025-10-31 11:55 ` Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 14/21] fuse: Reduce max read size Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 15/21] fuse: Process requests in coroutines Hanna Czenczek
2025-10-22 12:53 ` Kevin Wolf
2025-10-31 11:55 ` Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 16/21] block/export: Add multi-threading interface Hanna Czenczek
2025-10-22 12:57 ` Kevin Wolf
2025-10-31 11:56 ` Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 17/21] iotests/307: Test multi-thread export interface Hanna Czenczek
2025-07-30 17:12 ` Stefan Hajnoczi
2025-07-01 11:44 ` [PATCH v3 18/21] fuse: Implement multi-threading Hanna Czenczek
2025-07-30 17:18 ` Stefan Hajnoczi
2025-10-23 11:47 ` Kevin Wolf
2025-10-31 12:05 ` Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 19/21] qapi/block-export: Document FUSE's multi-threading Hanna Czenczek
2025-07-30 17:19 ` Stefan Hajnoczi
2025-07-01 11:44 ` [PATCH v3 20/21] iotests/308: Add multi-threading sanity test Hanna Czenczek
2025-07-01 11:44 ` [PATCH v3 21/21] fuse: Increase MAX_WRITE_SIZE with a second buffer Hanna Czenczek
2025-10-23 15:11 ` Kevin Wolf
2025-10-31 12:13 ` Hanna Czenczek
2025-10-31 12:33 ` Kevin Wolf
2025-10-31 15:03 ` Hanna Czenczek
2025-10-31 15:50 ` Kevin Wolf
2025-07-30 17:19 ` Stefan Hajnoczi [this message]
2025-10-23 15:15 ` [PATCH v3 00/21] export/fuse: Use coroutines and multi-threading Kevin Wolf
2025-10-31 12:14 ` Hanna Czenczek
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=20250730171930.GE74304@fedora \
--to=stefanha@redhat.com \
--cc=armbru@redhat.com \
--cc=hibriansong@gmail.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@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;
as well as URLs for NNTP newsgroup(s).