Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2232212rwd; Fri, 26 May 2023 03:53:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Dunbk1NbTR4MgtDsOKDY3a/U35w+IY6nKORjFETCk8OI00ddCFQZf9tsOD69U8/iMeZ+H X-Received: by 2002:a05:6a20:734f:b0:10f:c81d:f18a with SMTP id v15-20020a056a20734f00b0010fc81df18amr1114134pzc.49.1685098424560; Fri, 26 May 2023 03:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685098424; cv=none; d=google.com; s=arc-20160816; b=evIwUhCViWI0QlAPEbCvFiKR7/jEmuX50Tm/sLpxDd2JquFxzkiS/X3Fu/mnstrDtd AOIq+pa3bp1OmIy2Yp7LvloMDgeZBp5x1XquryuUbFq0G+if4R61pYS0x+Yh027B+eGg 8VaCGA20dRzW6Zlw/8NhO9HA6uUaVz4n5xLH+dguM4Xbl4rFQTS+CdHu4KiOe8KVPzh6 cKUknBBh4ekv+mJOzejyaERQlc/Nqmx0IBEoMtAsLQ7itM+OflW8IZyFdMDpe2OSRxMM iMq/2yZCayhPgqIrod2oaPKfGqKqF7fcJeDbtmyeKP7DNPB5DMrs2z0s/Z0fJC8jKwZA /rPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dHck7If8g557iI1cq9c1cGjdIF+NfpDz5R3tGK6/kqI=; b=hz98B33Qz7GzvNxyWgu94otGIiLI/mQK/SXdU4AOVHP2kfr4JcongHldJsA1QbJkcv 5kVDhfsrNa8WCUvzas/9yBv7k85DR0vTniAXNGJqhlE9oAEoZadrClkPOT6pyH9YYSS4 RVPsKbmaPRDlgWRkjrlomtzONdejwIiPq2HsMPKIgRXecV3O1uzlTM6SV4/+QQexhVFo D3S9qNpcMKCfrPenoAATx1UoCRRZs9CA6XEjczdrcQ6fSdecvqr2X7IZkVDsV/XpyJqh yifXkYndrxZex6d/Y5uPWhlj+y65KEJnEzFY+P5oq8QlYzn32C4VWbukFcVTZcbbUjl4 c6sQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d27-20020a63735b000000b0053f25518355si3476428pgn.736.2023.05.26.03.53.31; Fri, 26 May 2023 03:53:44 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243238AbjEZK3w (ORCPT + 99 others); Fri, 26 May 2023 06:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243253AbjEZK3r (ORCPT ); Fri, 26 May 2023 06:29:47 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4C501A8 for ; Fri, 26 May 2023 03:29:43 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R281e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=durui@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VjW43MX_1685096980; Received: from localhost(mailfrom:durui@linux.alibaba.com fp:SMTPD_---0VjW43MX_1685096980) by smtp.aliyun-inc.com; Fri, 26 May 2023 18:29:41 +0800 From: Du Rui To: gscrivan@redhat.com Cc: agk@redhat.com, alexl@redhat.com, dm-devel@redhat.com, durui@linux.alibaba.com, hsiangkao@linux.alibaba.com, linux-kernel@vger.kernel.org, snitzer@kernel.org Subject: Re: Re: dm overlaybd: targets mapping OverlayBD image Date: Fri, 26 May 2023 18:28:56 +0800 Message-Id: <20230526102855.36774-1-durui@linux.alibaba.com> X-Mailer: git-send-email 2.19.1.6.gb485710b In-Reply-To: <87r0r6ywri.fsf@redhat.com> References: <87r0r6ywri.fsf@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Hi Giuseppe, > The current OCI format, with some tweaks like (e)stargz or zstd:chunked, > already make its content addressable and a client can retrieve only the > subset of the files that are needed. At the same time we maintain the > simplicity of a tarball and it won't break existing clients. Yes, I believe backward compatibility is very important. That's why we have another design called foci (fast oci). It realize a virtual block device from gzip image blobs. See the following link for details if interested. https://github.com/containerd/accelerated-container-image/blob/main/docs/FASTOCI.md