Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp127061rwi; Wed, 19 Oct 2022 18:31:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6N9jRGPJhHP5/ZY8IJLQ8FaXesDFSTlnJFjdYVtaIQCwvQuNZ3k9toEbke3UigUMZpWnom X-Received: by 2002:a05:6402:90b:b0:45c:16a0:ec1e with SMTP id g11-20020a056402090b00b0045c16a0ec1emr10217765edz.427.1666229519567; Wed, 19 Oct 2022 18:31:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666229519; cv=none; d=google.com; s=arc-20160816; b=qTUhD+0e+BacSV7WrBHKpINNXcJ823IImWoMzMl37rYiU3dtkfRiVP1294E9BEVaoj ExVxrMUnKMIYFajvt/87tYKVXTq2hIQ0GUpdj5pqN3SvF0+RKCSjQE/4C0AioF7ik/z/ Eflk5pyUnWJSdFPicpDrxXAvGG9Fp+lsqpAxJmu17I9rZxfErkUHDLIRc6FvMLpl7yRM kiBv7OZtr4FbLNeGCknjxT52c2EwGuolDuz7m7ksn1AZb8bohLerMeDciLKJGgJBlQkl 36oxlYyUM2Cns8AmoKFnCSHztiSPSFWVPna+87+eNacGWmp8G7a2mk+Ooq8wTYXc9IhB 8FNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=LJfPZMEyo6shCgyFI9rCSlxmeEmbK7huBnNToJCfE0U=; b=FQAzkzsjJyE2eG+ByZxGjBffexMaENVz/0KQ+ndnA8hikTY1Qck9Av4c1XKHWo2j1s LWWDoM9xPOdOeZoihdoKyYJXEesE8siyu3gk8HiiENdOCe295V9AdvuYm/u+u4ZF+2qO iNNzpL6AFgzBsY7GrHz750lU8CxIVF2ML3SIcIE9jeKOddAMYYDErqIOQDkbCpty4yw8 046f5TzqD2cDP6KELIyS4HabfouxbQkJMIJj2hhsbQzHeVuoDf1Z+lcm4h3/kfexLtb/ xI2LqETk8cpZR8x5rBGbIxrDpz211U+0oVz8DJBy6SMaF4U8mrcY6Ifo3g7MmDWT2xHZ 3C+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IQUwkQjF; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a05640250d000b0045a1e2373dbsi17969166edb.44.2022.10.19.18.31.15; Wed, 19 Oct 2022 18:31:59 -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=@kernel.org header.s=k20201202 header.b=IQUwkQjF; 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 S230102AbiJTBN6 (ORCPT + 99 others); Wed, 19 Oct 2022 21:13:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbiJTBN4 (ORCPT ); Wed, 19 Oct 2022 21:13:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 739A7176B9E for ; Wed, 19 Oct 2022 18:13:53 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 1436AB825C9 for ; Thu, 20 Oct 2022 01:13:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E67C0C433D6; Thu, 20 Oct 2022 01:13:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666228430; bh=Cw8qrt3ip8gdBceNfL9nXfoDDLcgJOWUQORT9U0OgmY=; h=Date:Subject:To:References:From:In-Reply-To:From; b=IQUwkQjFOTCfLM8HbhUEy4XKNP9Jua0cFIHTDSKL7E+HSUUU6BqJdrw1o4ABHxkuj G/Znji3mQIAyUupvJbUAwgzn36pWrA3yO4/mOAxewL0xcp+9Myzk+ZEahVPCs3rRgD SZpoQ6oFys+3LBS0CzU7QPMA2TItQEkrzg23J0EEX2qZlAl4Sfo8lIxPpJLqmSFvUu 8YtZh5KZS5aZIAYn39v+f+68Sbh1p5ju+KJXDQlUfiai1FnNjAp1qlNtvCcTeGfyt8 W84XVmKayITrKeTd0O0hxV/Oqr9BxGT8nXCvszXxhYwoFzu0gtQabRd2DVx5G2WVZm ROJFg2GzF9TYg== Message-ID: Date: Thu, 20 Oct 2022 09:13:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [f2fs-dev] [PATCH] f2fs: let's avoid to get cp_rwsem twice by f2fs_evict_inode by d_invalidate Content-Language: en-US To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20221018005806.892778-1-jaegeuk@kernel.org> From: Chao Yu In-Reply-To: <20221018005806.892778-1-jaegeuk@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 On 2022/10/18 8:58, Jaegeuk Kim wrote: > f2fs_unlink > -> f2fs_lock_op > -> d_invalidate > -> shrink_dentry_list > -> iput_final > -> f2fs_evict_inode > -> f2fs_lock_op > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,