Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1196481pxb; Wed, 10 Feb 2021 02:30:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/LjWHhste3LgOVx2XAs2/oigETyNby4xTNkmgUUX9bTRrubuVlC4U3L3f0BFriE9u+m3m X-Received: by 2002:a17:906:fca:: with SMTP id c10mr2350512ejk.272.1612953037294; Wed, 10 Feb 2021 02:30:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612953037; cv=none; d=google.com; s=arc-20160816; b=ekPFAzrYavqJWXJboEo9J9emq4hg3kG2XdbYn86D2PLFlJLO85a+EwXwk8YaaJyKE6 pnzGQT/v4anE7Sn+svgTtYsvONWiRG3I7TSF10EW5gX7F1XRcZG/mjElg/h+Z+f367nv sHrKvoBI6Awf63arA/XCJFFlFZmp5f4s7CrZbpjBB40B6OkJXVBfGxL3cmn6HozbZW0p q6/Mmvi0rrXTBJpRM0WPIln2lKxfznTNPGBy4/j6Qdfrh9vGx/D1/ZCyjrCQF6R21bPk opDEohThwlebO8iWE7rUAn6BtGL5CH8oDhYjVSoOu6PzojKrv71Acl+UNBl07OzbeSIv kMkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=msA+gdwMsQfk3la/W82WyEHallZtYkbf2eSn/foTDTI=; b=jPto08SfNRLtvh8stlmxRTXK8S1ktYKKFXU93JhkJdKvRdk3zWaxBNFL3KCpUY9bnW 9l7XXnBza8W2eyxCfNiRUpqEHdEW+uKfJP9ypn8es1GHO/mtWz6P41KC0Jv014w1ph0B sa+Z00dAEhc19s5RB0qhV0ojeadwMU/+NRC2vTnU2bwrrVcgoNPK/uIz2If54/ygg4H5 K1bMoZ2uNA5pCus207W/riK9B77m4trECxKRxXaZkV+itfRPyUgKh79UdrH9gpQ9nJ3W S/CeuiWQ0fXyT/0BlOkQ8IK7ZfMxBw/6gAUVF/daJYQ3UFNKU7kiDVx07DbYo2pcIxvh X2Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=akng1dCj; 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 c67si1094868edf.523.2021.02.10.02.30.13; Wed, 10 Feb 2021 02:30:37 -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; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=akng1dCj; 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 S229993AbhBJK3i (ORCPT + 99 others); Wed, 10 Feb 2021 05:29:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbhBJKRh (ORCPT ); Wed, 10 Feb 2021 05:17:37 -0500 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F082C061786 for ; Wed, 10 Feb 2021 02:16:57 -0800 (PST) Received: by mail-vs1-xe35.google.com with SMTP id k9so810521vsr.3 for ; Wed, 10 Feb 2021 02:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=msA+gdwMsQfk3la/W82WyEHallZtYkbf2eSn/foTDTI=; b=akng1dCjJvDQ5GGmSb+6B927DpKcLId5PdzJFHYgIDGFIR9XwgZV+3UBewkVw4NDvb xTYDxIKMV3iWgHg5EC3LfhF5nz8v/KB96fSNGbVrisg29CJV/y1tg74eJEyRhxlllxAw 0Hzi9JBIX8o77zUJBqP92z8VvWgm3orvUCG90= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=msA+gdwMsQfk3la/W82WyEHallZtYkbf2eSn/foTDTI=; b=gg3M4cOqU82YlWkzdtpshca6E04Z7uLR7ggSHuKad0HVP667IBMTWyPSMxNYDLztNu 3nqkWWexoRyvlf/BQfF/AKbLnWA9Qd3E1DHslO+6kOcZHBAwpWbJ2+LrJhpawGaX6j1K 5fPGEygPkWezWQbNhGcxu4Uy2OWhmzdRhQZL95pfSGPVk/31UepCW1xQOtn1ZW4G5LWh 9Q890H9lqiiNBr001OS4x+Y7TVgapY0+CP6GQl2DpMbrGXO36Lfpf3tUbPmBnvCiIu7d HzTlWeNBObl3UK/+997f0uxnWvIwbZQmiGUD8Sx50aGDsT3guvKBU5eMA0MYTZb/9KBG VgMw== X-Gm-Message-State: AOAM531os/MCo1bGO2Uizcxg+a96mmN1uEUGwONhMG7cf7DYexXqai54 MML+NeeqePTOOFuixWVxLfcVYrqAAp1PETQ2cpJZkkitmqQ= X-Received: by 2002:a67:c992:: with SMTP id y18mr1103336vsk.7.1612952216822; Wed, 10 Feb 2021 02:16:56 -0800 (PST) MIME-Version: 1.0 References: <20210124232007.21639-1-richard@nod.at> <1507208626.379155.1612906761549.JavaMail.zimbra@nod.at> In-Reply-To: <1507208626.379155.1612906761549.JavaMail.zimbra@nod.at> From: Miklos Szeredi Date: Wed, 10 Feb 2021 11:16:45 +0100 Message-ID: Subject: Re: [PATCH 0/8] MUSE: Userspace backed MTD v3 To: Richard Weinberger Cc: Miquel Raynal , Vignesh Raghavendra , Boris Brezillon , Ron Minnich , sven , linux-kernel , linux-mtd , fuse-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 9, 2021 at 10:39 PM Richard Weinberger wrote: > > Miklos, > > ----- Urspr=C3=BCngliche 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) bu= ffers to a > single FUSE request, in both directions. > If I read fuse_do_ioctl() correctly, it attaches always a single buffer p= er request > but does multiple requests. Right. > 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? Does in-band and OOB data need to be handled together? If so, then two requests is not a good option. Thanks, Miklos