From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7583C433E0 for ; Wed, 10 Feb 2021 01:00:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72DD664E6B for ; Wed, 10 Feb 2021 01:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234724AbhBJBAR convert rfc822-to-8bit (ORCPT ); Tue, 9 Feb 2021 20:00:17 -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