Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1215983pxb; Wed, 10 Feb 2021 03:06:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwB+vWAsF2W5isHiYCSKkKjtJ+jrV9Yv982fO1iK6ldI/DzS/oXont45Y9u4H2B7rYYyp14 X-Received: by 2002:a17:906:2ac1:: with SMTP id m1mr2344061eje.149.1612955217229; Wed, 10 Feb 2021 03:06:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612955217; cv=none; d=google.com; s=arc-20160816; b=HDoUA5x/3H+wS1GHzYh+LY+XKttODSNUu4JoI2awy/E89kh1LSjxSLVB+XqRcYazun 89d0aG7htKhmQeEFpZWJ7yWvZDugp7rJewiMfcJMb+NqM5VdzpXC1qujmKDEWlPUil0P KkNJpP6OCPYOrtmvN+RTJ2NwMVs34sZKQYC+1YIck9zysbOpHMbJdUkzqF8lSoluhS0F oZv6/1Sbr0Hv5q/Cx33Gl1P7HMzZD77545RC9d8qvoinvDHR+DPY/AXslA+6YxQKmujG NB4TFED1AmDcRSYj6ZYag2mizlf37FoIVJgH6ZNqU9y2cS5ddiivxpayhcgLpJTHxHsg 6HfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=04D7WiqCI7NQHqfoZHV7XOGofyTBt4zdFBB44Awvjnk=; b=IyovwTdeIpi0fwS/CnE+tAY6Xm5vCpKJs7tV5RNEw0Lcn8j7CgiJKGz9T1J6ZTzgqf hsUGy4RmOz7M/l25x2XUTpvFVyrdfbLwGyTumruEx8Tmxv4414xdvjP1SyPHZJNRkEYx 8gf4bEmbOd/LbZiOvJQrVTdUixNUOY38fnh2I7QNCzAoZkaWlVVtAwqo1eTQPd+UZSDJ u6vn6Y1bBcU3H9MRQf8ACpQbIWgAQ+FNaW5SN6KuH/tWniQW86E01zZ/b2gzKRemYiJ0 nB8X7yo7ckPSCVw78AR2j8P93dIJrgZiGSB7nhLrdq4YaGhotDxGzp9jiLKOsUqJ4GzL jaDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IG0QkIZk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si1144897edp.249.2021.02.10.03.06.32; Wed, 10 Feb 2021 03:06:57 -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=pass header.i=@gmail.com header.s=20161025 header.b=IG0QkIZk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231482AbhBJLDY (ORCPT + 99 others); Wed, 10 Feb 2021 06:03:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbhBJLBD (ORCPT ); Wed, 10 Feb 2021 06:01:03 -0500 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E64FC06174A for ; Wed, 10 Feb 2021 03:00:20 -0800 (PST) Received: by mail-qt1-x82b.google.com with SMTP id o21so1180740qtr.3 for ; Wed, 10 Feb 2021 03:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=04D7WiqCI7NQHqfoZHV7XOGofyTBt4zdFBB44Awvjnk=; b=IG0QkIZkXZBjKkv0lndbbKwa6qb49vZlpLlQYYEC6rcrm+bbZJ0eLAJ6fykd4gZR/S wxZ/m+KKUdUGCpBJmyhC2/jkax6yDV5lVYoJHw+Rk1oFUog9OFGY4JebESWsHgKWdQvT inWZcRJJhvyjr5v0feqPls+KpXtM62j2nGxavZpuL+OSnjW+0ZtvAIeBavx2Y80Hskdu wIJKl0EYjhto4vMpy5y7P7vLryfuVBOoLRNwjrCwg6O1t9T4VcnkOZ9t85stlS6b0mYj QBCUZ5NHMujcZB8AFEb3H+nFoGqstihuyfYR05SLUsphsbEKIIkFiV4C7Kk/8uqydq3n N58A== 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; bh=04D7WiqCI7NQHqfoZHV7XOGofyTBt4zdFBB44Awvjnk=; b=WQxBIFNwOMs9aofaBWuVdCvRsuMg1vCEstGWyWeroDM1pcYZdwlhtNx/KAUjcbC1jU 4n3vLQPJZyPrjNbt6Rb9UTN9m3LL5fP0N2iwF8v7EgWGwD2Pl/3C0mvtpwbocDcgD23o Yfk+dWs1BdU1EXSPAWzDyXfhIoQNoLLMiH4Edp3y8P7K18A35tW3yKpaUaLsidPZ7gT2 1wgz9U5iCG903t70vCJdlozd/fj161kWoUq8hONC9AXAPbqMoCKwDKLkCZ29tqXMGfcs dCiYhbmLHPiGTyt/ClyVbLzYFRX95DEuPRsFeTkfqMmNW58wo8VB6kwczx3eD3dHzkN5 S23g== X-Gm-Message-State: AOAM530eijInS3aNbf/4RjJE+pVtV11C0EDNLsuzRxiklEJb61z1PGG5 Sdc8kLHSeaIxA/LPtXcudnhyINrY+YL+f7tffv0= X-Received: by 2002:ac8:7210:: with SMTP id a16mr118272qtp.82.1612954819564; Wed, 10 Feb 2021 03:00:19 -0800 (PST) MIME-Version: 1.0 References: <20210124232007.21639-1-richard@nod.at> <1507208626.379155.1612906761549.JavaMail.zimbra@nod.at> In-Reply-To: From: Richard Weinberger Date: Wed, 10 Feb 2021 12:00:08 +0100 Message-ID: Subject: Re: [PATCH 0/8] MUSE: Userspace backed MTD v3 To: Miklos Szeredi Cc: Richard Weinberger , Vignesh Raghavendra , fuse-devel , Miquel Raynal , linux-kernel , Boris Brezillon , linux-mtd , Ron Minnich , sven Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 11:22 AM Miklos Szeredi wrote: > > 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. > > 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. They can be handled separately. All I need to figure who to abstract this nicely in libfuse. -- Thanks, //richard