Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2363438pxb; Thu, 11 Feb 2021 10:24:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy15OqjfXVrEnFay61OcjU9seCEe88a+TuHOBIO74Ik/w44G6W8WUwcnbHyHmaJ9jRUf/gl X-Received: by 2002:a17:906:e15:: with SMTP id l21mr9637138eji.376.1613067880765; Thu, 11 Feb 2021 10:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613067880; cv=none; d=google.com; s=arc-20160816; b=XkIW1ObNQQjzjma/nuz3XhaZ57HjdE9JifdeEo7qjmXcF0A8vUofTRCjE4RZfpsgyY qvjlqjGEM2kSCy1Mz0xxRIdsDZCaZi9LRbRcmjwLcBP++cPzvGLhkzbF3NESlI3CUS7A piLDORm7Y8F5bfvGHiRzlUmidveys01fvon0oy6FHTmrow+5NwLelsyXGilT9rrqc9sh Z97osIYByEpyO2GshqFyySPXsRZz3ENJR7y6/sJXMXhWvhWtwfZ+GUgiwSmJ8hHg/UGa HAZGyW2lfTlrlZKZNOylAbHvTUeZ949eZmDYeEKds7dXao93E94rq+CMFRtGjaK2I9S9 5s7Q== 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=PiqXp2PbyEiLqS8FHKk3htkQdFQdzlKYkDOHu8k3JOY=; b=cdn9LpbCIqyCsGtyzYVLRIwp1VAXJmLk6Ixo9QIu99prl3G9leUPBSvdmW4lQ00glW gXPPD1uvlCY+EUDcGBc2oAKocxpMJLI44U73P1BCTdYKr2MD311Z6sI8rvH0PfljNTwf H4+XKxH5egdgtK6ZbZFFMXLoY5GsGz4RUOc9rU5UWKRHKUeQiw110a5PPbXjvC54eHiu c5el9aLy/qJdfN0NKvZoc0YkisVydUozb3K64OXAPyQFZ3xMvCU/A2q5S7fbBHZ6ZJ29 vPLliSYKSrSzE4CUfuO/1J94sO+cKCZqlwn1U/eINt/l2KYeXWLziJHfCR355071UHp4 8ysw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b="Xwo0pQ/f"; 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 c10si4288394ejf.281.2021.02.11.10.24.11; Thu, 11 Feb 2021 10:24:40 -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="Xwo0pQ/f"; 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 S232748AbhBKSWz (ORCPT + 99 others); Thu, 11 Feb 2021 13:22:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbhBKSKu (ORCPT ); Thu, 11 Feb 2021 13:10:50 -0500 Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5E36C061756 for ; Thu, 11 Feb 2021 10:10:05 -0800 (PST) Received: by mail-vs1-xe33.google.com with SMTP id a11so2743299vsm.7 for ; Thu, 11 Feb 2021 10:10:05 -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; bh=PiqXp2PbyEiLqS8FHKk3htkQdFQdzlKYkDOHu8k3JOY=; b=Xwo0pQ/f5+8iKK+3IOQfRxyVQJDRmzL9FuHu6PLz2yP8e7qMghKrHEILpI0ueSUELL qLQP+k/taSHnOl+aCP9FAcKdaHaqNuM2Y0MbiH3ftlR6xwt3ShjVfB6Me0mOBmbrbzmh w7R8HlwGXbKheEgD49bYLpZlV1T1S/3FQy2YQ= 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=PiqXp2PbyEiLqS8FHKk3htkQdFQdzlKYkDOHu8k3JOY=; b=VVskqBuWeMfkdb59oWcSZe3yy7dY+wnvmQTPY+/YPitgGf2My2J3EkBPB6zlxePejg sFZWvye5PdUMcXEFk2sNX5fQoNA1ZCkw8K1VdDsQAEVKVvGum8FIXjtJn0eftvVvzIjy GL6E3XyslfvD6/13i2mDiBE53r8UriibG8H7mWjnvdAwdPrSlaX/oRW1PQelctcuWbJe Dy14eSMxUa2y2wLFG27HEWLPsDAmIs6TKdD52CNU3GzypQP83hhMWd5q0E7V1zaY8utI pz48zPQllt7DN2iw1wY5i+pJU4xRMLFLBur6Q/34d0nVHufnVXfACXbBgSb39Zi36TUC +7GA== X-Gm-Message-State: AOAM530zBQbqLezWesWNsxHhkZ5mwOsYmHPGGoTAakAFDcMUHDiifpWU 9/p6MoFE4LAHZp9dJmrR5yLO1rBLcJ2gZz9SQXLrNA== X-Received: by 2002:a67:c992:: with SMTP id y18mr6591996vsk.7.1613067004890; Thu, 11 Feb 2021 10:10:04 -0800 (PST) MIME-Version: 1.0 References: <20210124232007.21639-1-richard@nod.at> <563952295.378372.1612881357746.JavaMail.zimbra@nod.at> <1923896038.379134.1612901174023.JavaMail.zimbra@nod.at> In-Reply-To: From: Miklos Szeredi Date: Thu, 11 Feb 2021 19:09:53 +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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 12:16 PM Miklos Szeredi wrote: > > On Wed, Feb 10, 2021 at 11:12 AM Miklos Szeredi wrote: > > > But this is just a start. From the big structures still left in > > CUSE only uses the following fields: > > > > fc: .minor, max_read, max_write, rcu, release, initialized, num_waiting > > fm: .fc > > ff: .fm > > fud: .fc > > > > Dealing with the last 3 is trivial: create and alloc function for the > > fm, and create accessor functions for the accessed fields. > > > > Dealing with fc properly is probably a bit more involved, but does not > > seem to be too compex at first glance. > > > > Do you want to take a stab at cleaning this up further? > > On second thought, I'll finish this off, since I know the internal API better. > Pushed to git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#fs_fuse_split There's still room for improvement, but I guess this can wait after MUSE integration. Thanks, Miklos