Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3128572rwi; Fri, 21 Oct 2022 11:57:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6dLjhypb/6kjUT0QWeDHU7QsECke84H7bxirhL/JyRMNpzC0dz4VByYZw6s1ENNnDKvAKa X-Received: by 2002:a17:902:cecd:b0:185:46d3:8cad with SMTP id d13-20020a170902cecd00b0018546d38cadmr20456507plg.83.1666378653843; Fri, 21 Oct 2022 11:57:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666378653; cv=pass; d=google.com; s=arc-20160816; b=KnWaRPac2HSruhJ/M5k357AX36TsHugpns0l4jX98Oq436U6lXUefNzs6dVCXeSfpG 0AsGYLPh1cyip6+cMG95MOMkLJhNPtAoJFReKHAxpIoWvPgmIjhCGxtJP4T5/lngbPGi K/Mi3YfHB3luq2JniJAQsa07blfm3t4Y74gW+r4RC07EQPwLCmAJdE7peMDMBGDzkStL luS5nPxsesG2saX+q+7KeopeO3pBoXPp10m1yvsUIY9/mIs0I+ME1a//P7IA9NLu0wfk QzETnVRoWurcUhBEyVzKSOIBa0ShDc7YFjH4vMAA4qfIo2pWi9V2tZPGCtilBS+TjJCf 4cbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QXDv+YXFosw2fWAKFtHiAv4uJen+//GC3ZPUMcMiEhE=; b=aVSNSMPhkAaI/w1e9W7s7Q1UYrXsMl19629c7UEd6RLY2EIKyBymLSyEiQS3op/jQ1 jb4vBqgbigkosHIobI1jFd6CbV9JbYmHU6NBq6tpJrC0vkBe3TieIHvMez9KQn5oz1Ln cVuW19f/6niL/MTlXN9KYtHItBkxOxwdRLCm5scyzlKzpNBZOyGuY1ti9bjlfrIHEb/2 T33jK6D+auRsMuPpGtt6f7dgR28c8CJvkHlk5CJ/oOxU+8Re7Du5VADGV5KEXjCoHVjM 4lIJAARhxaZXaiJ8F8KO2oJe9lhLpH/fkDoXZIAUu8+g0JSU7j42vA6s+L4RxOkdLi++ 8LzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=dgK88fsn; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a170902e5cf00b00172f237cd04si30416245plf.108.2022.10.21.11.57.21; Fri, 21 Oct 2022 11:57:33 -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=@vivo.com header.s=selector2 header.b=dgK88fsn; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230103AbiJUSis (ORCPT + 99 others); Fri, 21 Oct 2022 14:38:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbiJUSip (ORCPT ); Fri, 21 Oct 2022 14:38:45 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2110.outbound.protection.outlook.com [40.107.117.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 439DF241B1C for ; Fri, 21 Oct 2022 11:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YErfffnK9FcS5q4zYs7esLo8UJlFiS08PFmdq6I/C1ShXMBjVHNadEg6AGbCfQ2mVwUUsSsOeIW/s16hPDko41bZSTIRH72S4pgiP04pnxsmc52ydLYuXr2KuiSQp4z8pzRLnBguiFBJlypyK6NJYvAtWt8WUz9DQ5XfcUgFwfpn2D1wZX4k/nh1o/14Lmhym2Cy5VpRvVAJknpIhxtp8ZpLZ2USDYiBk4ruLCuJB7SduJ19uZlyaqEI+xdKOrAqGfd2eESvMaKhCo2K9o2Ljob9b+CPF/nqtWbpQB7t0T2kmSuQ/Tt1XUH6xG6ixigmumiyPj1ShuVKcQwB9LwAGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QXDv+YXFosw2fWAKFtHiAv4uJen+//GC3ZPUMcMiEhE=; b=F0S3msS/3RGU2ruW+7w/y+UesUfrvNPmYrPR/PcnD6qVvKbtmXAgwWCEhLuAl9awHzeq3DGTI2msFj1eU2x4CZiZIifOfyjmhhdQboDtX8fGBQvc+JWXBy+SPYzFOF1ZJ07fLUjxz7MmegJrTvEx39uvrhMwqxjmF0VedY6v+7Wi1EmaZtihYOKTRRrA7pWJWMDlJ2ZhoIcygj/Wir9BaQaIYHJDm2EdbIcskK40O8UCRG19nofba3VkHKv1uC0z8T46RRYgRHQrn3ZYGDS++Iqou2cQ+1royvWYMO99HX07yku3HsuX9E7XqhspsHrpb0mlskK9KC5HMZMyTqJpTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QXDv+YXFosw2fWAKFtHiAv4uJen+//GC3ZPUMcMiEhE=; b=dgK88fsnggDiHuVY0KGX8jMqm2PXFGKC1oDYNKUdXzmLrz9kdAfByb7LFJipFOQ8zng7YsAuBilhnfKzXk57cOSpU7QUxVNeEPyJbnW5s6V0igMXSLeEYFes27maCjNnN7haNdnqM7jgPtNSia25YyMDIG+i9RBp2QOyGds0gGIVGe36SVzDRXfALd3HCEPXsMbBZx+uLGe5qPnme3QjNa8ENxdTki7fMzZ2lrUyKfNzf9ZW7KNqKTWNPxI+pFRUk1PTW8/9Z/ngzbvLpe2eBJ1L3QkDlDmHzQRv/XAjTlOpGKQWv+zbWdS4Frko7EjeWcnOBApqJ98l9P++tBnRtQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by PUZPR06MB6223.apcprd06.prod.outlook.com (2603:1096:301:107::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Fri, 21 Oct 2022 18:38:40 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::c84b:5a6c:d66f:c0fd]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::c84b:5a6c:d66f:c0fd%3]) with mapi id 15.20.5723.034; Fri, 21 Oct 2022 18:38:40 +0000 From: Yangtao Li To: chao@kernel.org Cc: jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Yangtao Li Subject: Re: [f2fs-dev] [PATCH] f2fs: let's avoid to get cp_rwsem twice by f2fs_evict_inode by d_invalidate Date: Sat, 22 Oct 2022 02:38:07 +0800 Message-Id: <20221021183807.18640-1-frank.li@vivo.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI1PR02CA0059.apcprd02.prod.outlook.com (2603:1096:4:1f5::19) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|PUZPR06MB6223:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a6e6dd0-3751-4516-c894-08dab393795f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9kb4TfZ84T/mwiykihtNyLtkfiv7N0Z1MR/1F8jYakixQbyuCDkoDj8/3kn4Z9JU9wPKcBE0HDQXE3fo3lxebE0qGKBPoVuVELEeKrzQ/Kua0/i5vWJvWIuN2IkdVpF5njm8GBNOC7zxtbIeX4YKXunE3MrfnHGVsmJ8kKe3jfASE0lg/hCKImi/EsU++8VVY3YzRgzU2uo+sVjaF9YrRjnCPGlyVQlVOoJAUU6UhuZ+yC3KS0I6oFNwTleuJvZzqokONJjaz5VVQco2OYmsJaLqb9fhrWbp42VPWf69p647C8tQJANFzm1LzzQCZQSf9YZgYePD09JmzLuIk7vowEnvVM6sI9d0Kbv+WBgUoIVczKetF8y3xzrb5yKFH3zIVg72KFRuk5XzHoIsXOpg7tvMbW8Ph8ZQ9Iko8GhBxoOefHld4aq9jzWpKz9gMDvXcaLc5ZtkPAgJWDevfIHbXFby6RYB8wqwlg8Q39UFQDX4MD8IpTShoBZ5W/xYlLt+1pri9PUrrFxaNzgYR/2GTWM3QFN3d3NdapIQcFAkPmhqaKU5S8+Pv7XDVdhDex7A1oaCmAtTWkmMFNA9HKjQBExsRmwWXm5OAZY5HQ8t0gg8P9R5+cMdXQxSZHL3ujtdLcUtuDVcmmRlfw9hOcGFTV1dM7GKsEYTXmMfPluY43iaqudw5LUZwMUIrBrBrobr2DziY722AvvCzGkj2RknWXMFNYGlaIUmjg3QXrKL+15NgAE3bmjRFDRAPkViTcEnIBz2HYgsoH2VEZY52D6fZg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(396003)(366004)(376002)(39860400002)(451199015)(6486002)(6506007)(6666004)(107886003)(186003)(52116002)(6512007)(26005)(478600001)(2906002)(1076003)(2616005)(4270600006)(6916009)(66476007)(316002)(8676002)(66946007)(66556008)(4326008)(8936002)(41300700001)(86362001)(5660300002)(38100700002)(38350700002)(19618925003)(36756003)(558084003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mvYrpZzaKPxLQKa0/Kbl7EJk/RElF0P9eXA+a0n9gjzxWgxHXkdslImC8IyQ?= =?us-ascii?Q?HEBWKlxN3TyeMUIW0+frXNDFS9nzpkuzIrMddxHpKBeqOCw6Zw+6W6b3JcLi?= =?us-ascii?Q?KxNUIFFtWi4zbktiKn9jF+47XgcgAdoh4s6AvvMLOerzOu7L/+MOuccSB4ol?= =?us-ascii?Q?Vlbpr/giE0+xu3PBwtuKHmz50Jb41yz5Cuj4M9MbsED8p0DNiBpQ+xf4vbKE?= =?us-ascii?Q?BaC/Rcr92t2yB9kSgD+JosHdrnAsizEBjYr0G9H6oLH79wiPQjXD1jn42YJp?= =?us-ascii?Q?heod7+OKeUwFNy1klx+3ynLWtMyZ/8iGm+C6970KXBN4Qkdk0ZXY3uJBZdyT?= =?us-ascii?Q?Jcg9vUnJ7wAHiFC7EQTl0+uPpWNQxyHK9xPfiuV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7sFRu7XR60ghW3TOxFkRElH4TMBvq1r5jrv0?= =?us-ascii?Q?DOY7Jt1TgNOcalz6K2jU4pmKFB3V9AqNp0XWN6Jf4wdnrBbQOaiyB8KwnS/d?= =?us-ascii?Q?7jZYOTM6U6KGz7/ME80BeakVnnolDtNcYfUfqPcJstKWDmsjvRPxgeXo1r79?= =?us-ascii?Q?vfodO1GvbhpJCLfCjninsfM4KqcuQ797iIb9uX85ur/gOe9wHOAHhMhF6aAi?= =?us-ascii?Q?+G/dGqfTMs3bYLlhPXbQe6Z4gRwzKG8U5imEQAs/OJaY08YdGr8LrVyKMmCX?= =?us-ascii?Q?jwwQKlE3I6EgOrLoGZ1O6qeG81jyt4HYpoZrjWIi?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a6e6dd0-3751-4516-c894-08dab393795f X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2022 18:38:40.8126 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Wiu64ZbPmHHLMH4Cj4dOJXStNQ1q4bSVC/hjmBW9LXNwg1lHbWAlm652zOVT+4wXWU0lQPF+F1j/mAZvaT6ppQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR06MB6223 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 Tested-by: Yangtao Li Thanks,