Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp928912pxb; Tue, 9 Feb 2021 17:02:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkMvL8H2PHZyA9MLnKp2HGGzCuJOH++NPyd7IWW2T8eq3LqR+Qgk3hXqg5j6jWGZJ4L0zB X-Received: by 2002:a17:906:2851:: with SMTP id s17mr420559ejc.510.1612918939894; Tue, 09 Feb 2021 17:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612918939; cv=none; d=google.com; s=arc-20160816; b=tmZxYvbAZjyUPsmtL6Y8zAAJiGfqoe2yLRW+cRz/JEvTLQANkCd24FQhqeRg1Lx7Fz HhJ4a84AC3RmbCk2tm2YCUijTf/ns7n3xjrUQgA+t3RvZ+yoFn0j0d3nuFxibPgXbejt ktisCZx+byYCH7Cv9GsrZovzGN47MPIUvIzu+durk4Zg9Ys1ASb0k1P8RHyzo9zltcHe rkFvm6ofTOAdMqumM0WNdPehg0V55V4/DocPCHW6ny4VbQYWhAuqw9Rm68kPVAdP8gxh XsBByj7unP6K8+zNtqkBiL86zMkRxjG5ZEFr3vMPPM3xFNUrL8UycPLtqWCCj7Hi/2E+ hBow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=PFCXG8ZzjE1nFbUEjJs0WHfoKGR+pb1ycQz4E/TPXFY=; b=OjAm8QTJHhmcOa3U/IZfqemVB6KFcfde+x0y+pfYbxZCv1MKrEr/l50rg3u1IZtMfG CGy2C2toXAjHSSwx4moTw4E8AZKezmJpQAnccEde6SV89tAKa2R50gCKVaUwhZP/2mLk CakSQUSaiK7HARNt7wIU5zYGjuJufBiZjMa7BqDSbrgHI/VWARpVlFnx9awH8uimXMlm gu+Crw6v+vEFbWyZYAWLiXfvyRXfW5+1XouLXlOOvpka+nXZ25yI+RjhPKEbH132tBaM sTu0ICCdSYsaGlCljlUSzyBgk3AWEQCiEr6E7VJ9aU371F6hn8MfWteHEWATBsDATwe/ GQ2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g26si325204edy.55.2021.02.09.17.01.55; Tue, 09 Feb 2021 17:02:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234327AbhBJBAN convert rfc822-to-8bit (ORCPT + 99 others); Tue, 9 Feb 2021 20:00:13 -0500 Received: from lithops.sigma-star.at ([195.201.40.130]:49232 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234173AbhBIWPp (ORCPT ); Tue, 9 Feb 2021 17:15:45 -0500 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 25CCA6083270; Tue, 9 Feb 2021 22:39:22 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id zcuKv_gcvvzX; Tue, 9 Feb 2021 22:39:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id C6A76608A38F; Tue, 9 Feb 2021 22:39:21 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id o475j9w_Tchu; Tue, 9 Feb 2021 22:39:21 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id A34F76083270; Tue, 9 Feb 2021 22:39:21 +0100 (CET) Date: Tue, 9 Feb 2021 22:39:21 +0100 (CET) From: Richard Weinberger To: Miklos Szeredi Cc: Miquel Raynal , Vignesh Raghavendra , Boris Brezillon , Ron Minnich , sven , linux-kernel , linux-mtd , fuse-devel Message-ID: <1507208626.379155.1612906761549.JavaMail.zimbra@nod.at> In-Reply-To: References: <20210124232007.21639-1-richard@nod.at> Subject: Re: [PATCH 0/8] MUSE: Userspace backed MTD v3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Topic: MUSE: Userspace backed MTD v3 Thread-Index: ouVDBBxzMEdyj7XGvi0Ky/PygYF9uw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miklos, ----- Ursprüngliche Mail ----- > If you look at fuse_do_ioctl() it does variable length input and > output at the same time. I guess you need something similar to that. I'm not sure whether I understand correctly. In MUSE one use case would be attaching two distinct (variable length) buffers to a single FUSE request, in both directions. If I read fuse_do_ioctl() correctly, it attaches always a single buffer per request but does multiple requests. In MUSE we cold go the same path and issue up to two requests. One for in-band and optionally a second one for the out-of-band data. Hmmm? Thanks, //richard