Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-07 Thread Stefan Hajnoczi
On Fri, Apr 04, 2025 at 02:49:08PM +0200, Hanna Czenczek wrote: > On 27.03.25 16:55, Stefan Hajnoczi wrote: > > On Tue, Mar 25, 2025 at 05:06:54PM +0100, Hanna Czenczek wrote: > > > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > > > (via open("/dev/fuse") + ioctl(FUSE_DEV

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-05 Thread Stefan Hajnoczi
On Tue, Apr 01, 2025 at 03:36:40PM -0500, Eric Blake wrote: > On Thu, Mar 27, 2025 at 11:55:57AM -0400, Stefan Hajnoczi wrote: > > On Tue, Mar 25, 2025 at 05:06:54PM +0100, Hanna Czenczek wrote: > > > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > > > (via open("/dev/fuse

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-05 Thread Hanna Czenczek
On 26.03.25 06:38, Markus Armbruster wrote: Hanna Czenczek writes: FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). We can use this to implement multi-threading. Note that the interface presented here differs from th

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-04 Thread Hanna Czenczek
On 01.04.25 14:05, Kevin Wolf wrote: Am 27.03.2025 um 14:45 hat Hanna Czenczek geschrieben: On 27.03.25 13:18, Markus Armbruster wrote: Hanna Czenczek writes: On 26.03.25 12:41, Markus Armbruster wrote: Hanna Czenczek writes: On 26.03.25 06:38, Markus Armbruster wrote: Hanna Czenczek w

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-04 Thread Hanna Czenczek
On 27.03.25 16:55, Stefan Hajnoczi wrote: On Tue, Mar 25, 2025 at 05:06:54PM +0100, Hanna Czenczek wrote: FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). We can use this to implement multi-threading. Note that the int

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-03 Thread Eric Blake
On Wed, Apr 02, 2025 at 09:20:33AM -0400, Stefan Hajnoczi wrote: > > > Eric: Are you interested in implementing support for multiple IOThreads > > > in the NBD export? I remember some time ago we talked about NBD > > > multi-conn support, although maybe that was for the client rather than > > > the

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-01 Thread Eric Blake
On Thu, Mar 27, 2025 at 11:55:57AM -0400, Stefan Hajnoczi wrote: > On Tue, Mar 25, 2025 at 05:06:54PM +0100, Hanna Czenczek wrote: > > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > > (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). > > > > We can use this to impleme

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-01 Thread Eric Blake
On Tue, Apr 01, 2025 at 02:05:40PM +0200, Kevin Wolf wrote: > > Maybe we could make setting @iothreads here and the generic > > BlockExportOptions.iothread at the same time an error.  That would save us > > the explanation here. > > This raises the question if the better interface wouldn't be to c

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-01 Thread Eric Blake
On Tue, Mar 25, 2025 at 05:06:54PM +0100, Hanna Czenczek wrote: > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). > > We can use this to implement multi-threading. > > Note that the interface presented here differs fro

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-04-01 Thread Kevin Wolf
Am 27.03.2025 um 14:45 hat Hanna Czenczek geschrieben: > On 27.03.25 13:18, Markus Armbruster wrote: > > Hanna Czenczek writes: > > > > > On 26.03.25 12:41, Markus Armbruster wrote: > > > > Hanna Czenczek writes: > > > > > > > > > On 26.03.25 06:38, Markus Armbruster wrote: > > > > > > Hanna Cz

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-03-27 Thread Stefan Hajnoczi
On Tue, Mar 25, 2025 at 05:06:54PM +0100, Hanna Czenczek wrote: > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). > > We can use this to implement multi-threading. > > Note that the interface presented here differs fro

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-03-27 Thread Hanna Czenczek
On 27.03.25 13:18, Markus Armbruster wrote: Hanna Czenczek writes: On 26.03.25 12:41, Markus Armbruster wrote: Hanna Czenczek writes: On 26.03.25 06:38, Markus Armbruster wrote: Hanna Czenczek writes: FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs (via open("/d

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-03-27 Thread Markus Armbruster via
Hanna Czenczek writes: > On 26.03.25 12:41, Markus Armbruster wrote: >> Hanna Czenczek writes: >> >>> On 26.03.25 06:38, Markus Armbruster wrote: Hanna Czenczek writes: > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > (via open("/dev/fuse") + ioctl(F

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-03-26 Thread Hanna Czenczek
On 26.03.25 12:41, Markus Armbruster wrote: Hanna Czenczek writes: On 26.03.25 06:38, Markus Armbruster wrote: Hanna Czenczek writes: FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). We can use this to implement m

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-03-26 Thread Markus Armbruster
Hanna Czenczek writes: > On 26.03.25 06:38, Markus Armbruster wrote: >> Hanna Czenczek writes: >> >>> FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs >>> (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). >>> >>> We can use this to implement multi-threading. >>> >>> Not

Re: [PATCH 14/15] fuse: Implement multi-threading

2025-03-25 Thread Markus Armbruster
Hanna Czenczek writes: > FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs > (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). > > We can use this to implement multi-threading. > > Note that the interface presented here differs from the multi-queue > interface of virtio-b

[PATCH 14/15] fuse: Implement multi-threading

2025-03-25 Thread Hanna Czenczek
FUSE allows creating multiple request queues by "cloning" /dev/fuse FDs (via open("/dev/fuse") + ioctl(FUSE_DEV_IOC_CLONE)). We can use this to implement multi-threading. Note that the interface presented here differs from the multi-queue interface of virtio-blk: The latter maps virtqueues to iot