From patchwork Mon Feb 20 03:02:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 59241 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1102110wrn; Sun, 19 Feb 2023 19:06:40 -0800 (PST) X-Google-Smtp-Source: AK7set9EUw5+dWMK2PVPjPBwBByrzoTEJstZR3j3DXxe5/jdHjiTitIe3DURZ12ZUhZU0OkljLNH X-Received: by 2002:a17:902:d2cb:b0:19a:ad90:4223 with SMTP id n11-20020a170902d2cb00b0019aad904223mr2324456plc.48.1676862400598; Sun, 19 Feb 2023 19:06:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676862400; cv=none; d=google.com; s=arc-20160816; b=OWGWjPP9yB+ufH4E+tqx7+L4ThX7yXKQpASPteq1JnzzZ6BG8Dy6pewyKZ30blqLB7 Z5HfaJfCRSoKJc+z4m2paS133jCUyxmVO2fBukri//K+pkNMr7j9iEwHy8g9Z0HDPdSa 4pTp05Wx0yqx6BRg/dT1ALyLCPmNz5o1EhU9tqjilSv8R/cx/TYRyyi1Uw78NVcrtmgM 2VZQ/TR7wwUHt+VFMDQ6+d0jXjbqTuqnpoyYkQDWwY6iloZBPy8rqmTNB+9c3p52vu3A UiZC3ybQCSBtfSNTGiBpiV+Ts44Epqp1eCoaQnSV0L5YJxgyz2kgwvbZ1nE9u2p9enuh uTFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=yFOOAV0sbvP2tP106SP6EHGpUv7dsN+fhZjdrLMwC8Y=; b=AUFtMSfR0gR4AeuhnRv3Ro9vQ0ipi2WPNtbXhfilJg598zEqtFGDGv6PZsFBpUQSZG ImQRanZDVfzTQsiBVjvRykvismGcFoOxP28MoCjM2P5f+jcSrVAfdsKiP7RkFpQGW96G IW+jrBO631k1G0/VyxZDU/Y6mjmZPlaOFxd0X50fzI02RWNzSTdrLWp2dibJN2L1DqdQ WKVoQvD8dVQl75uMse1B0gcrs0uUbn+lErpKDCBMVe45yby/37AvPOaOLMm8RZAryd3a /pk/glEl5sPv8mldxPQsjvj87mayjKKT/CMqnn6QuPt2GyODy0wZK2JEXMKfeT5WA9X+ /nkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XP1MxDD2; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz5-20020a170902ef8500b0019a733b2ae9si7655976plb.561.2023.02.19.19.06.28; Sun, 19 Feb 2023 19:06:40 -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=@kernel.org header.s=k20201202 header.b=XP1MxDD2; 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 S229797AbjBTDDM (ORCPT + 99 others); Sun, 19 Feb 2023 22:03:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjBTDDK (ORCPT ); Sun, 19 Feb 2023 22:03:10 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 262417D9C for ; Sun, 19 Feb 2023 19:03:08 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 300B2CE0AFF for ; Mon, 20 Feb 2023 03:03:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00220C433D2; Mon, 20 Feb 2023 03:03:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676862185; bh=K4g+VWnYi5actU4XQ7u2VfOjBh1wfqtMcWd25MgtzYY=; h=Date:From:To:Cc:Subject:From; b=XP1MxDD2uR2PcAJ7G3afM0U1tJyCa5WqVHcG2X1jM3nZm6l5qdJnm+8MACuNmpr36 bbVddT3X1TYN0YJ9wyVCbBtrOQqnis1T8dlriLryiXG86rYp9gzp9HqfASZ7E03FYm 7GqAZQw8RTl2ld2GPxsI80Qlnk11U53UpP38V/rxMIXvT251/rpAMKYTx+hcNEK8gP RyqDPI4vgzzyD3X0g82Quy0UzAPdagJ0IdrL5rvD4CDBzP0L48xVS42VVaRwqfVPTI XfxuZbGtLOQH42/VfYpXI3+jY/ivaHm8KOIXizeqaQ4haD8WRKeWcZL6wplpVfk4h0 Q0h9VtRsoeiGw== Date: Mon, 20 Feb 2023 11:02:58 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Sandeep Dhavale , Jingbo Xu , Thomas =?utf-8?q?Wei=C3=9Fschuh?= , Yue Hu , Yangtao Li , Dan Carpenter , Chao Yu Subject: [GIT PULL] erofs updates for 6.3-rc1 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Sandeep Dhavale , Jingbo Xu , Thomas =?utf-8?q?Wei=C3=9Fschuh?= , Yue Hu , Yangtao Li , Dan Carpenter , Chao Yu MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758317668778637844?= X-GMAIL-MSGID: =?utf-8?q?1758317668778637844?= Hi Linus, Could you consider this pull request for 6.3-rc1? The most noticeable feature for this cycle is per-CPU kthread decompression since Android use cases need low-latency I/O handling in order to ensure the app runtime performance, currently unbounded workqueue latencies are not quite good for production on many aarch64 hardwares and thus we need to introduce a deterministic expectation for these. Decompression is CPU-intensive and it is sleepable for EROFS, so other alternatives like decompression under softirq contexts are not considered. More details are in the corresponding commit message. Others are random cleanups around the whole codebase and we will continue to clean up further in the next few months. Due to Lunar New Year holidays, some new features were not completely reviewed and solidified as expected and we may delay them into the next version. All commits have been in -next for a while. Thanks, Gao Xiang The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65: Linux 6.2-rc5 (2023-01-21 16:27:01 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.3-rc1 for you to fetch changes up to 8d1b80a79452630f157bf634ae9cfcd9f4eed161: erofs: fix an error code in z_erofs_init_zip_subsystem() (2023-02-16 22:51:53 +0800) ---------------------------------------------------------------- Changes since last update: - Add per-cpu kthreads for low-latency decompression for Android use cases; - Get rid of tagged pointer helpers since they are rarely used now; - Several code cleanups to reduce codebase; - Documentation and MAINTAINERS updates. ---------------------------------------------------------------- Dan Carpenter (1): erofs: fix an error code in z_erofs_init_zip_subsystem() Gao Xiang (10): erofs: clean up erofs_iget() erofs: remove linux/buffer_head.h dependency erofs: get rid of debug_one_dentry() erofs: simplify iloc() erofs: get rid of erofs_inode_datablocks() erofs: avoid tagged pointers to mark sync decompression erofs: remove tagged pointer helpers erofs: move zdata.h into zdata.c erofs: get rid of z_erofs_do_map_blocks() forward declaration erofs: tidy up internal.h Jingbo Xu (6): erofs: update print symbols for various flags in trace erofs: remove unused EROFS_GET_BLOCKS_RAW flag erofs: remove unused device mapping in meta routine erofs: maintain cookies of share domain in self-contained list erofs: relinquish volume with mutex held erofs: unify anonymous inodes for blob Sandeep Dhavale (1): erofs: add per-cpu threads for decompression as an option Thomas Weißschuh (1): erofs: make kobj_type structures constant Yangtao Li (1): MAINTAINERS: erofs: Add Documentation/ABI/testing/sysfs-fs-erofs Yue Hu (1): Documentation/ABI: sysfs-fs-erofs: update supported features Documentation/ABI/testing/sysfs-fs-erofs | 3 +- MAINTAINERS | 1 + fs/erofs/Kconfig | 18 ++ fs/erofs/data.c | 23 +- fs/erofs/dir.c | 17 -- fs/erofs/fscache.c | 146 +++++------ fs/erofs/inode.c | 42 +-- fs/erofs/internal.h | 146 ++++------- fs/erofs/namei.c | 18 +- fs/erofs/super.c | 3 +- fs/erofs/sysfs.c | 6 +- fs/erofs/tagptr.h | 107 -------- fs/erofs/xattr.c | 20 +- fs/erofs/zdata.c | 424 ++++++++++++++++++++++++++----- fs/erofs/zdata.h | 178 ------------- fs/erofs/zmap.c | 253 +++++++++--------- include/trace/events/erofs.h | 17 +- 17 files changed, 667 insertions(+), 755 deletions(-) delete mode 100644 fs/erofs/tagptr.h delete mode 100644 fs/erofs/zdata.h