From patchwork Sun Jan 7 14:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 185737 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp561533dyq; Sun, 7 Jan 2024 06:28:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8DdNxPDaIzaThvFl6eNZPkK4K5A4TCK6gE3lfk6vmx5+0Ke7zbl8ZAsQNLLnAwLkDZywd X-Received: by 2002:a05:6a00:4f5a:b0:6da:16e9:9b34 with SMTP id lc26-20020a056a004f5a00b006da16e99b34mr585912pfb.67.1704637697814; Sun, 07 Jan 2024 06:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704637697; cv=none; d=google.com; s=arc-20160816; b=susGnaMcGn1Y+mzM6VIBu84aJ5W0j9ZD34KABZ3sWUUjkzEY1JYnsCE9Xh8MJSq/8I dvo1RqgIIITmJ/wT5pYOExe3okMb9KtsHlh4oek8tdm9UWzryd9BR8eqKeLY5aT/tZJT 5xadBYWulHw8UKLAtTTs/qRXmYsntMNoXHYCaY+/L3y2iof2LKc5gOwTyAhvt0mbPorc 6LnHAuSIUXWVFkw/fKbuBwM52ZrFtWhMdlmKFnVKA4LuFOXGxcRhrapb56aNa1snq7jU Slm/v6f+Qn8oPiZACgusnFQ1OGegEhqA+Hvs8MgbBeqljgxpBIpwRFcD/MZXtDkk01W8 Y/0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:mail-followup-to:message-id:subject:cc:to:from :date:dkim-signature; bh=fy4TGFZYiT3iviAAXO1sAUFNNVf6pV6g3a+16vW+kiw=; fh=2CLgc2AuSKV1YdHBWXEJSxErGnSkPtYSMyYacNDCvmw=; b=ScdXMwasjC8Jw+waHhZ4582sk77fp4YIQxITOT91dRxR122EbM3UUzJbXGjpPfLW+E DKCeI29lBZiB9bYmedci+p70UlMh1PgmeraGGPmCfrsTCLZt/ek6/aa4nCI0TgLhQ2Hd fu3/IJf+xMmM/ge3pF5pbFPuXKW6t0AS/a2MgcRRf79y9mprMPP6gAfJ1t3APvT8gNig Yx1VLCyGX9470ONl0yLO2Z5/JJkOOK9w7qBXWM/O3hOVNGQp1aE+KOpbzi4xIVJXB19O w82Y+J0fc/kF1odUJw1v9aDsQ+PZ6EJtJht5VsLuK8DCbrAGRfXjP+Jqx8HBOfc6nWVH WWyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AwjER7Ox; spf=pass (google.com: domain of linux-kernel+bounces-18879-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18879-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e23-20020a656897000000b005cddfe0c82bsi4453473pgt.211.2024.01.07.06.28.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 06:28:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18879-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AwjER7Ox; spf=pass (google.com: domain of linux-kernel+bounces-18879-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18879-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8650C281FF7 for ; Sun, 7 Jan 2024 14:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47229134D6; Sun, 7 Jan 2024 14:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AwjER7Ox" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CA8C134B3 for ; Sun, 7 Jan 2024 14:28:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 027DDC433C8; Sun, 7 Jan 2024 14:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704637681; bh=1X8Ul3/Opyp81lNAQ1SojmK3B7nENWcPC3AhiW2tNXo=; h=Date:From:To:Cc:Subject:From; b=AwjER7OxQTN4kEGqX4G0D8NVb3CQu5oecegYAWJPwbtMJHlLm+jBnt//mv3+dEOpn W2Rue0U8EcKxyrFUfuw3pqeta4+PcVj7O+K90bUuwMBqOUTaRfavGe4zigV+3mdP3H ZebUw+TrTcntfmexRxDz5Rk4PsPqN+p6weYRYSTei27KIcR9VFi6mqBKQqE/vyPu3N L6+oE6Vca/i4QW0G/HpH2wNKylHbnRtpOWUpTw/JulQPSIYsEo0pqvjza3/4IomHdj ATCrV12lkXbKRWg7naII7wX21j5s3ycyP5iZAbxJP6LA53YHW5zsZl5+TTYkfhk/Z3 KmBNROPzxdP3w== Date: Sun, 7 Jan 2024 22:27:56 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Jingbo Xu , Chao Yu , Yue Hu Subject: [GIT PULL] erofs updates for 6.8-rc1 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Jingbo Xu , Chao Yu , Yue Hu Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787442178388190728 X-GMAIL-MSGID: 1787442178388190728 Hi Linus, Could you consider this pull request for 6.8-rc1? In this cycle, we'd like to enable basic sub-page compressed data support for Android ecosystem (for vendors to try out 16k page size with 4k-block images in their compatibility mode) as well as container images (so that 4k-block images can be parsed on arm64 cloud servers using 64k page size.) In addition, there are several bugfixes and cleanups as usual. All commits have been in -next for a while and no potential merge conflict is observed. Thanks, Gao Xiang The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab: Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.8-rc1 for you to fetch changes up to 070aafcd2482dc31a12a3eda5d459c45496d6fb6: erofs: make erofs_{err,info}() support NULL sb parameter (2024-01-04 00:23:13 +0800) ---------------------------------------------------------------- Changes since last update: - Add basic sub-page compressed data support; - Fix a memory leak on MicroLZMA and DEFLATE compression; - Fix a rare LZ4 inplace decompression issue on recent x86 CPUs; - Two syzbot fixes around crafted images; - Some cleanups. ---------------------------------------------------------------- Chunhai Guo (1): erofs: make erofs_{err,info}() support NULL sb parameter Gao Xiang (10): erofs: fix memory leak on short-lived bounced pages erofs: fix lz4 inplace decompression erofs: support I/O submission for sub-page compressed blocks erofs: record `pclustersize` in bytes instead of pages erofs: fix up compacted indexes for block size < 4096 erofs: fix ztailpacking for subpage compressed blocks erofs: refine z_erofs_transform_plain() for sub-page block support erofs: enable sub-page compressed block support erofs: fix inconsistent per-file compression format erofs: avoid debugging output for (de)compressed data Yue Hu (1): erofs: allow partially filled compressed bvecs fs/erofs/decompressor.c | 122 +++++++++--------- fs/erofs/decompressor_deflate.c | 2 +- fs/erofs/inode.c | 6 +- fs/erofs/super.c | 10 +- fs/erofs/zdata.c | 267 ++++++++++++++++++---------------------- fs/erofs/zmap.c | 41 +++--- 6 files changed, 218 insertions(+), 230 deletions(-)