Message ID | 20230209063913.46341-1-jefflexu@linux.alibaba.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp170676wrn; Wed, 8 Feb 2023 22:41:00 -0800 (PST) X-Google-Smtp-Source: AK7set/8kF9z/CM1nopxefHTy/lO+8xsZXHnyaudD/DEtutp+cgksd4XfOTuqY08qAxbq++7eteS X-Received: by 2002:a05:6a21:30c2:b0:bc:51a4:d14c with SMTP id yf2-20020a056a2130c200b000bc51a4d14cmr8007104pzb.16.1675924860554; Wed, 08 Feb 2023 22:41:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675924860; cv=none; d=google.com; s=arc-20160816; b=TGAUP2yjiBhuCE/p7it9lsj5EfDQ+HAXtgJ8UmATX6op9Nz/n31hBIA5+EEdHbxA4m q8wGcN3izFzxg7wmb0VnK9ctR++CEn5z5VnSGwmyP8NkSzS6Ori/9iRrrgRYTQVGF2bU p1mSmcl3vNiPhL/H+QDY7KiuxowzznvxzNXHRmWhQUvjyu6QSZoHcANibr/tUPsuAhKx /igQ4KF/Kveu3k9pmbktJ40LCDQJWu8WCY2xOB7tcBjWIi8qFIfsHr9bQmxCwc+VXkFw m/Ix9AArxFUXIaaOE3x1Da2ZO30gVIj5rbYDw9Y4QO5BqXBK8oW+M1oI5hdpLoRV6x75 txVA== 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=UcHIpM08775Fjcx3MQifYFqoLjK/4M9HRO3SCUOXlyk=; b=L2K/wL0QV0S74i3j4LcdXIdxsWf7f0+NH5IVJGi0wYFeQXKtynCKOc5VmNR28io4fr JKC+BLjL/8qo8n6y45XVLOIabcsqxZIChf2OintouXgoMyF+ntYCEZ7EiH0F3MctXjpd Qqm4dNtGn+H+pVWrE6khEt/4/GTrgFWAARGcKEeWxVLxdn9YPTqAcKqW/F3cqfOlyAAo mH5BFqRsqNi1VeXBz0+8l5F6nhri5L6+rxkrvC/23VKXgv8VRnVUYKXOM1uurXWRfmXn HodrnjD7YXTb6h8xL/Nd7nA8cItpHGy2JYMuzoSTKq96FOqi5BhocnbzGaSYo/2OFHRf CrmQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j23-20020a637a57000000b004da6950e1b1si1282421pgn.59.2023.02.08.22.40.47; Wed, 08 Feb 2023 22:41:00 -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; 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 S229764AbjBIGkJ (ORCPT <rfc822;gnulinuxfreebsd@gmail.com> + 99 others); Thu, 9 Feb 2023 01:40:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbjBIGkI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Feb 2023 01:40:08 -0500 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E09CF42DE8 for <linux-kernel@vger.kernel.org>; Wed, 8 Feb 2023 22:39:35 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R841e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VbEnfRG_1675924753; Received: from localhost(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0VbEnfRG_1675924753) by smtp.aliyun-inc.com; Thu, 09 Feb 2023 14:39:14 +0800 From: Jingbo Xu <jefflexu@linux.alibaba.com> To: xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org, zhujia.zj@bytedance.com Cc: huyue2@coolpad.com, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] erofs: cleanup for fscache share domain mode Date: Thu, 9 Feb 2023 14:39:09 +0800 Message-Id: <20230209063913.46341-1-jefflexu@linux.alibaba.com> X-Mailer: git-send-email 2.19.1.6.gb485710b 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_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757329568289211666?= X-GMAIL-MSGID: =?utf-8?q?1757334586754396044?= |
Series |
erofs: cleanup for fscache share domain mode
|
|
Message
Jingbo Xu
Feb. 9, 2023, 6:39 a.m. UTC
v3: - patch 2: remove redundant blank lines (Gao Xiang) - patch 3: add "Fixes" tag v2: https://lore.kernel.org/all/20230209051838.33297-1-jefflexu@linux.alibaba.com/ v1: https://lore.kernel.org/all/cover.1675840368.git.jefflexu@linux.alibaba.com/ v2: - patch 4: add EROFS_REG_COOKIE_SHARE flag to indicate that the blob is shareable among several erofs fs instances (Zhu Jia) - patch 4: rearrange the prototype of related functions to make it more compact (including rename erofs_fscache_domain_init_cookie() to erofs_domain_init_cookie()) Jingbo Xu (4): 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 fs/erofs/fscache.c | 144 +++++++++++++++++--------------------------- fs/erofs/internal.h | 11 ++-- fs/erofs/super.c | 2 + 3 files changed, 65 insertions(+), 92 deletions(-)