Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4396080rwb; Mon, 16 Jan 2023 23:41:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvXQc8WT7LxjOJomgVKg+OrxDTgWqsQ+ysgVKZ+D0y+Vy6zMiEqnsxXnGqgPU3fMP/QSd+N X-Received: by 2002:a17:906:1783:b0:866:6b08:946b with SMTP id t3-20020a170906178300b008666b08946bmr1607671eje.39.1673941307731; Mon, 16 Jan 2023 23:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673941307; cv=none; d=google.com; s=arc-20160816; b=jrMGGbpw8x4H/4hMYgOBGx8sqNxpxWfHrFMnMb0DOXIP5lcA9MwnbekmmnSF5tJLjw /4l6EQ/nQArmnq5ZToj3bgXoarB07Vpwf7gtxuCqba1/LxynkXU6FISjKO8jL6KH7hAv ab/Djqcz4y/wgzBTL71F3DK6/jzuKZSm6Y5hlyNSj05XxgVIcAMHPFjnx6scbDBN5IO2 CZTAqwtQbhQryDHI4G2YCBC9K7LoMuZw4pHEj6r++yiI3eZcsiE8OVOxTDaQi7LiyIfO Nfag178HQK5TzgSDxTN6oA0WMsGWu75scOUJds7DKWupGhEj4rmx54f0T8eLrTn/xWb9 VGBg== 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=mWPhmCkqKFcIpCiTZaLR4Hhw47aqQrOmrHVQN5Cisu4=; b=z2Y4c/WbWE1U8TGah1FGfeXvKmWZCNxU0K8KcUIqX/iDIRmC6g99Q/Qcu1jLf7D2a1 HEuJeiD2YqjM5nvFy6KEp1NEhT5ZA0EEtZMoQ3xSRc5dS/3HvEHxQqiSgegerIj2A0de 3vYuYf7konBz/RbaVKnjbNEVJrmPQ4rCHG5AlO/aFV4E0/omc/SuLb949hGUH9z152Vn ESb9rsj2WeUDaf19jVTEc9DHlnZ3xf3oVKJoypIDvc8D4n54q6MaQLaewhfiBl9BpqWV pCAOYTCMRWPfEYnKLniz3GyUD42YPVJgODdVz4X1doZZbrAa8BRxAOXYd+HSFkXmFayc tN4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kLjakUQ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb42-20020a1709077eaa00b008376c09a3e6si36935804ejc.170.2023.01.16.23.41.35; Mon, 16 Jan 2023 23:41:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kLjakUQ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235802AbjAQHGO (ORCPT + 49 others); Tue, 17 Jan 2023 02:06:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235559AbjAQHGJ (ORCPT ); Tue, 17 Jan 2023 02:06:09 -0500 Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1A05901A; Mon, 16 Jan 2023 23:06:06 -0800 (PST) Received: by mail-vk1-xa2c.google.com with SMTP id b81so14355660vkf.1; Mon, 16 Jan 2023 23:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mWPhmCkqKFcIpCiTZaLR4Hhw47aqQrOmrHVQN5Cisu4=; b=kLjakUQ3HJ/QaIBy9T4YySwWu5x1pRkDr51em/m2P7CZlUw0a1Jt8HjrZkOYhX5m28 0Y50dcK9vwQZeBjUVUONeExQBdr0dsniTaBUlGof2OqX5i1ticHVCkS9Jh4PQH026PwT fOJ7fdQRNlTK53OrEpadB8jj0DHJUJ6O9Ppyp8Szhfp//f5PLw38DjUNcX2BfDargfT9 0KP3xuo5UtjUZk+gLnDKo2ifQlfJZSckX63ftBG9CFv+9C+or7aG3txAdLtI/AUsAbXm W5s+VyCbx20VAwt5Nccmb/XUkbgN/y/adLEbQK4MICkWSuAtEDo9bAY2/1KQto0zHLc0 DRPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mWPhmCkqKFcIpCiTZaLR4Hhw47aqQrOmrHVQN5Cisu4=; b=T+fK1laN3ghxf1OQgHjtxSRbrfc87iKevHM/b+f36fTYekPFuzcM3Nvk/Mj9Ro7mg8 0V8Uvi50KtmGO8zOUJBXdSkqNf8OBC9xpznlUtauI0RNz1YKWq+YUNaesrGI+ckYunq1 Be/7EYQqpPUznOUqyUqKostBij5FAZ/LajB0WHz64G9dv4moq2G9bJQ+I4xWt9iA7vYh uohoQH2QlkAk31Zas8gOblvnNdlFGAMrUoeXcW0Mi7vsuax9DKk3BHAgPHUe8jTwZq7A lu5w7seS5n1kZtjmby2misDxEaE3I2u4v2C+721rfITYePmx06KxIDpfwLHhyUQTSLe3 2QKQ== X-Gm-Message-State: AFqh2kpl+oblYL82wvjvEZ45iIleMexR5d1IgqDEmcWJWbxl6chJaQ4V xVcArfAuKoUuqI8GKugbfD33CdxZoso5OHflBeo= X-Received: by 2002:a1f:ad56:0:b0:3bc:8497:27fd with SMTP id w83-20020a1fad56000000b003bc849727fdmr247206vke.15.1673939165880; Mon, 16 Jan 2023 23:06:05 -0800 (PST) MIME-Version: 1.0 References: <3065ecb6-8e6a-307f-69ea-fb72854aeb0f@linux.alibaba.com> <0a144ffd-38bb-0ff3-e8b2-bca5e277444c@linux.alibaba.com> <9d44494fdf07df000ce1b9bafea7725ea240ca41.camel@redhat.com> <2856820a46a6e47206eb51a7f66ec51a7ef0bd06.camel@redhat.com> <8f854339-1cc0-e575-f320-50a6d9d5a775@linux.alibaba.com> In-Reply-To: <8f854339-1cc0-e575-f320-50a6d9d5a775@linux.alibaba.com> From: Amir Goldstein Date: Tue, 17 Jan 2023 09:05:53 +0200 Message-ID: Subject: Re: [PATCH v2 0/6] Composefs: an opportunistically sharing verified image filesystem To: Gao Xiang Cc: Alexander Larsson , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, gscrivan@redhat.com, Miklos Szeredi , Yurii Zubrytskyi , Eugene Zemtsov , Vivek Goyal Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > It seems rather another an incomplete EROFS from several points > of view. Also see: > https://lore.kernel.org/all/1b192a85-e1da-0925-ef26-178b93d0aa45@plexistor.com/T/#u > Ironically, ZUFS is one of two new filesystems that were discussed in LSFMM19, where the community reactions rhyme with the reactions to composefs. The discussion on Incremental FS resembles composefs case even more [1]. AFAIK, Android is still maintaining Incremental FS out-of-tree. Alexander and Giuseppe, I'd like to join Gao is saying that I think it is in the best interest of everyone, composefs developers and prospect users included, if the composefs requirements would drive improvement to existing kernel subsystems rather than adding a custom filesystem driver that partly duplicates other subsystems. Especially so, when the modifications to existing components (erofs and overlayfs) appear to be relatively minor and the maintainer of erofs is receptive to new features and happy to collaborate with you. w.r.t overlayfs, I am not even sure that anything needs to be modified in the driver. overlayfs already supports "metacopy" feature which means that an upper layer could be composed in a way that the file content would be read from an arbitrary path in lower fs, e.g. objects/cc/XXX. I gave a talk on LPC a few years back about overlayfs and container images [2]. The emphasis was that overlayfs driver supports many new features, but userland tools for building advanced overlayfs images based on those new features are nowhere to be found. I may be wrong, but it looks to me like composefs could potentially fill this void, without having to modify the overlayfs driver at all, or maybe just a little bit. Please start a discussion with overlayfs developers about missing driver features if you have any. Overall, this sounds like a fun discussion to have at LSFMMBPF23 [3] so you are most welcome to submit a topic proposal for "opportunistically sharing verified image filesystem". Thanks, Amir. [1] https://lore.kernel.org/linux-fsdevel/CAK8JDrGRzA+yphpuX+GQ0syRwF_p2Fora+roGCnYqB5E1eOmXA@mail.gmail.com/ [2] https://lpc.events/event/7/contributions/639/attachments/501/969/Overlayfs-containers-lpc-2020.pdf [3] https://lore.kernel.org/linux-fsdevel/Y7hDVliKq+PzY1yY@localhost.localdomain/