Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2917957rwd; Fri, 26 May 2023 13:20:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4rHMcwUBDvfPxxviBBfLTzisMdnU3DRQM1Uq+QFwHCiEgp0tT8o8amYN0DFwmnsYeB/KDS X-Received: by 2002:a17:90a:1b6a:b0:253:2ddd:4a36 with SMTP id q97-20020a17090a1b6a00b002532ddd4a36mr3447870pjq.6.1685132452668; Fri, 26 May 2023 13:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685132452; cv=none; d=google.com; s=arc-20160816; b=urpjCXbeq+fTsVRiXc8RqJzg6PbtJLwcQ9y/wBF3+rUPBceZQwoqGyWpWKTygOP/ce u/HdswP6i05m568QKDIVqYktL4JSCXKZZZe2+laUhJaXRDWsWGuPrj/Wkipi/j2PFReJ 6sDQN0HIvWmtcuB/c67p8PByyBTdBdsHXGSmexbjjpUP1QRIbdgr30G2lGvLXI5n3gq3 4dVUsCRBG+GQNnZj+MsXk4R5OeKdt8oJKj97QlRY4WyKIV5b6jEzRvzaXB3isp9BEJkc HfDu77DO6asIzwx+VQzpl7oiJ/j27EXQh5gMqLutYRmF7p9Ivl6pcGzPZZuU3/OjgO7S cfdQ== 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 :message-id:date:subject:cc:to:from; bh=CYUBBTD9+JZ3Yh1eZB5xomxxINYdws0hqEaTABpYQMk=; b=p57BOKsK0ZbvvoBQgr0Krfb1Pz83ek6zv+kYznLJjbW7yNSAkajkl1TIYAkdohx6Oe VazyxFQYeVlxvulCmzryTrQ41ys+rPSrd6j6Q8yOrT4tReD7eqz/0o0M5QtB/JfrJ0o1 m+naWVQYTe3XoxFcXygTzXs+fx90bOqC6gmSiChEN911dW8EeUZFYHQpJdbBpoEARxgw lD/iMKz8/iBVOj3EGy/IISf1lj8WU6kOTftxZN/3VPxkT7tN24cZfRbyqWPLM9NB/53R p9iLGmi8H43zjhSqRLPNNQK23dBP47wgDI9X8kzQaiyEgshSpg/CjBKvxcFTBDVLySxo 1M0A== 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 mg10-20020a17090b370a00b00233f3034302si4888596pjb.46.2023.05.26.13.20.37; Fri, 26 May 2023 13:20:52 -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 S234439AbjEZUPM (ORCPT + 99 others); Fri, 26 May 2023 16:15:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjEZUPK (ORCPT ); Fri, 26 May 2023 16:15:10 -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 0AA55F3 for ; Fri, 26 May 2023 13:15:08 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R571e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0VjXYN-8_1685132100; Received: from e18g06460.et15sqa.tbsite.net(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VjXYN-8_1685132100) by smtp.aliyun-inc.com; Sat, 27 May 2023 04:15:06 +0800 From: Gao Xiang To: linux-erofs@lists.ozlabs.org Cc: LKML , Gao Xiang Subject: [PATCH 0/6] erofs: random cleanups and fixes Date: Sat, 27 May 2023 04:14:53 +0800 Message-Id: <20230526201459.128169-1-hsiangkao@linux.alibaba.com> X-Mailer: git-send-email 2.24.4 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 folks, These are some cleanups and fixes for the compressed part I'd like to aim for the next cycle. I will send several versions if there are more patches available. This ongoing cleanup work are also for later folio adaption. I've set up a stress test for this patchset at the same time. Thanks, Gao Xiang Gao Xiang (6): erofs: allocate extra bvec pages directly instead of retrying erofs: avoid on-stack pagepool directly passed by arguments erofs: kill hooked chains to avoid loops on deduplicated compressed images erofs: adapt managed inode operations into folios erofs: use struct lockref to replace handcrafted approach erofs: use poison pointer to replace the hard-coded address fs/erofs/internal.h | 41 +------- fs/erofs/super.c | 62 ------------ fs/erofs/utils.c | 87 ++++++++-------- fs/erofs/zdata.c | 238 ++++++++++++++++++++------------------------ 4 files changed, 156 insertions(+), 272 deletions(-) -- 2.24.4