Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2709161rwb; Mon, 3 Oct 2022 04:40:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Zz7vowlGpBgtuzI3JD8AwIYA5KTyKbHZna1inkoGPA8LhS9nnrgw8d/LgCnt+qhlceMtk X-Received: by 2002:a05:6402:3587:b0:451:30ca:c067 with SMTP id y7-20020a056402358700b0045130cac067mr18503997edc.195.1664797257747; Mon, 03 Oct 2022 04:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664797257; cv=none; d=google.com; s=arc-20160816; b=wvL0kf7Ay28kjd/hLnlCMYPhyEFUq7BaR0hiqc0mp2JnaYquhpc15tPCeU3VFcTnEq /qoucFPB/fQAv/i/CjV6zZ0hhR5zTRic1g0/A29TRzMKLO7nTRExBGtd2hPlxKaIRMqM EtD4ZbVgz5gMBYjEvxqbRcgmoB8RmGkIi+DlVEEDQ8B+yrnOz4O0NIU+Vr1jnjmR+a/E jm2C5JMJAkBV07Q+ysfPl2dMnyQGlzOZAOkSuOExnYilwmTxTuFNPucEToLtWn7apvXu DVqSDrS6WN8heVqf10X/aAxiu3cXpbYzGzV2jMcXHyxXCqEvAels39mK+kaS0eQvSehu YmGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=jhOcouoECJnCmaDAYBb6CNxFZeUqi0xBAtxBa4aG2Pg=; b=tAhN9SYwieUlwSu1IZrqsoZFUtmSjz9AoG5X4DSv2wtZ2HlGLDfC3dSCAA95l+6o9O WByY5PwTBOkegIDC9lpThWokblKLTcYIfmgqy+q1E1aNkeHPxVDRYtfjDtzKiF3lASUE kolAwwkzyScICsqh+VkD4P6k412WQNzM5IdEdCScIwvxpqAqGHzTa2OA6VTvVqroWXlH 1qtYcC0pBuCJSN8CJSZJeOEtVjVsm3583fbNDxvsBJdaqo++XbExZPce5koWDHn2v/Ke vkKCrUhk/XaSRybbhl/Wjj+ahr7zHvnBbTyFNw3CNpra5t5Xqb/xIeZoYmS74rsPtlq3 51+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ci00h2IS; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a056402254e00b00450d0a3d76dsi8655516edb.197.2022.10.03.04.40.31; Mon, 03 Oct 2022 04:40:57 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ci00h2IS; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbiJCLN6 (ORCPT + 99 others); Mon, 3 Oct 2022 07:13:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbiJCLN5 (ORCPT ); Mon, 3 Oct 2022 07:13:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BBD3F313 for ; Mon, 3 Oct 2022 04:13:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E352AB80D89 for ; Mon, 3 Oct 2022 11:13:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E72EC433C1; Mon, 3 Oct 2022 11:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664795630; bh=TYkEAJtqrEF47EOQjs7AcYg5nunNMI0a9M4M1Ne7U0c=; h=Date:From:To:Cc:Subject:From; b=ci00h2ISqO6Is76x1eUaaxm5O5Qn9NM4QWMXDRkllpq3oECxNjyJdzrpRGdkiNVGi HK/r4v2xVXldQSFYajhz1P6c0LZjF+5LuY0GIAKcwDuKbBhA0eq0rzeS+X+XHHlYE1 GkeZCT9hKecJK9wS1R2WLtNWs3GsjD2PAA+ivmSpXZujkleBS2k2lFArhXSeJ/z4G0 7GCpZdqb5HRCdL0tY42qd+0bik1Xp0p7w8yMpAyiGYETJwjsWbc+srSvNkHMrn+nZc WzNL3BXPmEI8jH9y/lTBZd8gvauYhRbft8OMAY5yclYpBctIFqcz+9cq5ywlhxYXcO Mucczu2M/KFCw== Date: Mon, 3 Oct 2022 19:13:43 +0800 From: Gao Xiang To: Linus Torvalds Cc: Yue Hu , Jeffle Xu , Jia Zhu , linux-erofs@lists.ozlabs.org, LKML Subject: [GIT PULL] erofs updates for 6.1-rc1 Message-ID: Mail-Followup-To: Linus Torvalds , Yue Hu , Jeffle Xu , Jia Zhu , linux-erofs@lists.ozlabs.org, LKML MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hi Linus, Could you consider this pull request for 6.1-rc1? In this cycle, for container use cases, fscache-based shared domain is introduced [1] so that data blobs in the same domain will be storage deduplicated and it will also be used for page cache sharing later. Besides, a special packed inode is now introduced to record inode fragments which keep the tail part of files by Yue Hu [2]. You can keep arbitary length or (at will) the whole file as a fragment and then fragments can be optionally compressed in the packed inode together and even deduplicated for smaller image sizes. In addition to that, global compressed data deduplication by sharing partial-referenced pclusters is also supported in this cycle. All commits have been in -next for a while and no potential merge conflict is observed. Thanks, Gao Xiang [1] https://lore.kernel.org/r/20220916085940.89392-1-zhujia.zj@bytedance.com [2] https://lore.kernel.org/r/cover.1663065968.git.huyue2@coolpad.com The following changes since commit 80e78fcce86de0288793a0ef0f6acf37656ee4cf: Linux 6.0-rc5 (2022-09-11 16:22:01 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.1-rc1 for you to fetch changes up to 312fe643ad1153fe0337c46f4573030d0c2bac73: erofs: clean up erofs_iget() (2022-09-27 17:27:45 +0800) ---------------------------------------------------------------- Changes since last update: - Introduce fscache-based domain to share blobs between images; - Support recording fragments in a special packed inode; - Support partial-referenced pclusters for global compressed data deduplication; - Fix an order >= MAX_ORDER warning due to crafted negative i_size; - Several cleanups. ---------------------------------------------------------------- Gao Xiang (4): erofs: fix order >= MAX_ORDER warning due to crafted negative i_size erofs: introduce partial-referenced pclusters erofs: clean up unnecessary code and comments erofs: clean up erofs_iget() Jia Zhu (6): erofs: use kill_anon_super() to kill super in fscache mode erofs: code clean up for fscache erofs: introduce fscache-based domain erofs: introduce a pseudo mnt to manage shared cookies erofs: Support sharing cookies in the same domain erofs: introduce 'domain_id' mount option Jingbo Xu (1): erofs: clean up .read_folio() and .readahead() in fscache mode Yue Hu (3): erofs: support interlaced uncompressed data for compressed files erofs: support on-disk compressed fragments data erofs: fold in z_erofs_reload_indexes() fs/erofs/decompressor.c | 47 +++-- fs/erofs/decompressor_lzma.c | 3 + fs/erofs/erofs_fs.h | 40 +++- fs/erofs/fscache.c | 477 ++++++++++++++++++++++++++++--------------- fs/erofs/inode.c | 26 +-- fs/erofs/internal.h | 57 ++++-- fs/erofs/namei.c | 13 +- fs/erofs/super.c | 96 +++++++-- fs/erofs/sysfs.c | 23 ++- fs/erofs/xattr.h | 2 - fs/erofs/zdata.c | 51 ++++- fs/erofs/zmap.c | 104 +++++++--- include/trace/events/erofs.h | 11 +- 13 files changed, 651 insertions(+), 299 deletions(-)