From patchwork Fri Apr 21 06:51:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Han X-Patchwork-Id: 13219559 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0496C7618E for ; Fri, 21 Apr 2023 06:52:12 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1ppkcq-0003Hm-9Z; Fri, 21 Apr 2023 06:52:08 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ppkco-0003He-1B for linux-f2fs-devel@lists.sourceforge.net; Fri, 21 Apr 2023 06:52:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=MIME-Version:Content-Type:Content-Transfer-Encoding :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YCR4w6ro0B7pJaP91SMp5xZIrRRl/wkdLH2Bv+EQ3aQ=; b=K5gZEDX6DX+V0eBmW4HFJSW9nr kYKRpyj5GBCGdXB+5UNud5zz2AsgJ2tkxg60yWboA+AqAPNfXOeYDk4F1t4eD/kBdYwMcU0wtLo21 81AeOPbz531yHSqPgyI6ZG15ptGi1JSnwaNS2hGfEiXDdexdCdZ79R2yhNeF3ZkbZtUo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=MIME-Version:Content-Type:Content-Transfer-Encoding:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YCR4w6ro0B7pJaP91SMp5xZIrRRl/wkdLH2Bv+EQ3aQ=; b=lu5rfc45BpY+3lLVBJHfGaL5jZ fIZfB8F+lNKTU7PsZTKH75i5RiC06rBdfduWiWhtZbhDtrhSMuiHj1qNhBGaMeT2t3MQGpilUAkJV +nNPpE2mWF0dbqc/LId8KvGyPH0Lq69iqwE+kTbKD2wpidMZoUGj2NBGs7NyYbQE3e3w=; Received: from mail-sgaapc01on2109.outbound.protection.outlook.com ([40.107.215.109] helo=APC01-SG2-obe.outbound.protection.outlook.com) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1ppkcn-00ERv0-5A for linux-f2fs-devel@lists.sourceforge.net; Fri, 21 Apr 2023 06:52:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BhjuSYw44bYeq6KZ8kh/3gbg2kwpIRXAasXHWyweucHv0l9uU04GtYWWGHmRj4DgjWiPB3pr/lTizUeCLYIiiVbcNTUQ4uNlCRXqJqqqwnKmPyV3DavrOfGJlo0InVLeyxpYaVVzeLW4eyCmSQofLFi8fNMxCTWkwTyW4JRcj/2MqMq5bYLrv4+F6ltkw54uHrAQQmGZQBWuECb8/tRcynIQO7vz5b05owrkwqjEveSstNUL1Ar/JCh/DYOvPpmv2/TQAEcLRLymFqmhcd2o9ZWW5IFCHWy/sPRjwPsx5cYnknaWtufzI6WcXlJ5oTX6ok10vi3sA5HcgSJctYMQow== 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=YCR4w6ro0B7pJaP91SMp5xZIrRRl/wkdLH2Bv+EQ3aQ=; b=jyyr/327dK4Q1G0hB2q7FQEB0SIELRK2/KGPDTPKCT8EuXEfJrGnSAyWu8ZMDSDjmrlqqKykeuyq+GuD+N8L3lPo8CCz16cS9WZjwMv+LbMZ31ekfZxXrWplrjCdkLf6pfrH7UI2B1JPx+0j3VovQXTWMvMqBU2M1zzbp/Pl/V2DD/jtlveCu+ukF5mo684JcipqBoBHF4xDt7d24e3jQol1ucoztl2vDEUKb/pFidneMLivs+bnbugLmmr57TKIU7tbni9MEOKDZaXOJsCPfsUbilPUjFj2fvo/hdsY36q5TFOmxazkn/T0PSDuIA/X588Qt/JiM3pS7m4TBN7LjA== 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=YCR4w6ro0B7pJaP91SMp5xZIrRRl/wkdLH2Bv+EQ3aQ=; b=kmgoIK5u6/hF7ssH/8NIG8rTqBuKkX4uXhmubj2dFQsyyak6MnHoAig7HFQ3p7KyGceQyTggIiZM1ui8+PeKVe6S1/HlGR7gtc/pDKOie0ZF2Ft92XIilUGXu4aRu6NTHs66XAIuO1jQIXQ596q2OOcC4Ly8xXJH29R3w7I9zA7a1mZtSm3QZ2sfuXTWVHirz1lXFtdIC2kImu9ZupJYA8aYyemDKt0nEALDVxpXoeYE/7orCkUl6z5Er8GLETZQYYSOQyZfKe+iRDfs8YxTSpCywPdBJBMEyAlZFCj/pz0Z4t8GUQvf/bDeq2IOM8pLDEWvvnu5gwf73nqIv3e5tw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SG2PR06MB3223.apcprd06.prod.outlook.com (2603:1096:4:6e::22) by TY0PR06MB5380.apcprd06.prod.outlook.com (2603:1096:400:217::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.21; Fri, 21 Apr 2023 06:51:54 +0000 Received: from SG2PR06MB3223.apcprd06.prod.outlook.com ([fe80::9a48:6ff5:b14b:8c80]) by SG2PR06MB3223.apcprd06.prod.outlook.com ([fe80::9a48:6ff5:b14b:8c80%4]) with mapi id 15.20.6319.022; Fri, 21 Apr 2023 06:51:53 +0000 To: jaegeuk@kernel.org, chao@kernel.org Date: Fri, 21 Apr 2023 14:51:25 +0800 Message-Id: <20230421065125.44762-1-hanqi@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230418060954.67585-1-hanqi@vivo.com> References: <20230418060954.67585-1-hanqi@vivo.com> X-ClientProxiedBy: SI2PR02CA0026.apcprd02.prod.outlook.com (2603:1096:4:195::19) To SG2PR06MB3223.apcprd06.prod.outlook.com (2603:1096:4:6e::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR06MB3223:EE_|TY0PR06MB5380:EE_ X-MS-Office365-Filtering-Correlation-Id: 69a1e8a2-7be0-4b1f-d362-08db4234e29c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MUI005h4rIeHmxwE0puCOjrr/BYNqcBTwQtabKWTszgDM+Zub9SVjatmUvZRD/fwZUOEJ3FlE3fXud4EOjBsLiCR4JpIXXQSnepX4nuX77YR555LkVNKFWnQRD0nONWQxfM85sQWQPl3vHCtdhISv/D9c6qPvSV+jfFh1yZ3OeFaBrt4auFUSctRFVJ0CqI/frC8naQLLmyMZdKzqqHoTa4ADWiQs314zcVYLdY0hIJJiXE9/8nqEBhiW5M+RvY4e0ijGAQuTKTUx4a/MewERJxfSKAnwYbRUP/BglWMstZE3A+4llI0eRVlJsT2D3lu6dzqmb0MsvilgyRw1jAGYE7VdHjNT1uymxifOqj9wAtq1N4SXylrJFkzAuyXMRtFw8L6Ht9JjGLxstik/GhTalz7wk8MY2/Jr6prYSNdkMPjqYIYakNJFjcdGi5zetrB2Q6mb+yWQLAYticcIfb2nwf17DPxd29owsUbmOSWHzARvLa3GanFDJuh1drmdhs+DRf4448ut/2qu2XK7Tivtd8Cr4WdaR8vH5HgfknjoFFDjJpqeK4XRLRfahYoh9dAJdjsLF2cmXMrZJPLli/d9Rfjf6rBCu6sESieBnoRH2WsKl6zfNZ2hc7fiQbKBxRE X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SG2PR06MB3223.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(366004)(346002)(396003)(376002)(136003)(451199021)(5660300002)(478600001)(8936002)(41300700001)(316002)(8676002)(4326008)(38100700002)(4744005)(66946007)(38350700002)(1076003)(26005)(6506007)(6512007)(107886003)(186003)(2906002)(2616005)(36756003)(66476007)(66556008)(52116002)(6486002)(86362001)(83380400001)(6666004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +ZvNjV3aueHIfurIBwO1nwhnx4PYJ+NwRMfpRj4Nro46DXpePJub19tLDb5qznqFzAS9BvFENBjZVwbGxUkEtzNIIWf9ioR+qapJYVaRUbfmct/x2SD1ZXEiF4mosI+vTbmsIgHl8OD3CQVok5nii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IZ0+yvoHTsmrXKiyTpB4IjAFJ9Df62e2JtV3k4ToNGLY5Fc1SLwqus7/BvWINICr4ATWY2USN8dpHHzWnEQEBmOHAy7/W6BXn4Y2ZDScLMLCFEo7XL2qGiheJ6f8L9BVihk21JtINJF7zjK4RNbUNUIjG7RubtHa7MJ+D86B1QxNjMNxlndiNmFTOcqyn4goWqrRo7FXhgVJSU70IIaEYZ1xU2ZhOT6dq2JBqzEU47aOT9eRUJ0yn+uvO5ovP0i4VEa454hckpZxPPEr12YApfqIrAGAeVPl3rBLZjsL6gT1TBIRx5aqCv69oQZjPcb3l6LlI2qCwwTl085E6L45RMU3JQUYz45xrnAmRmm2RELFiubIGv4ndN6yokDW X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69a1e8a2-7be0-4b1f-d362-08db4234e29c X-MS-Exchange-CrossTenant-AuthSource: SG2PR06MB3223.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2023 06:51:53.9140 (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: uM0/yusS3ZpNgl84giLX0FQeqg8WICRNIakB6XHdtQ4tuBVroZQWRTp0O+qUj+8ZxAkAqsCHLm+52ghGMdMDtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR06MB5380 X-Headers-End: 1ppkcn-00ERv0-5A Subject: [f2fs-dev] [PATCH] f2fs: move wrong comment to right place in __may_age_extent_tree X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Qi Han via Linux-f2fs-devel From: Qi Han Reply-To: Qi Han Cc: Qi Han , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net This code is commented in the wrong place, let's move it to the right place. Signed-off-by: Qi Han --- fs/f2fs/extent_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c index 28b12553f2b3..0ad769a822ac 100644 --- a/fs/f2fs/extent_cache.c +++ b/fs/f2fs/extent_cache.c @@ -86,9 +86,9 @@ static bool __may_age_extent_tree(struct inode *inode) if (!test_opt(sbi, AGE_EXTENT_CACHE)) return false; - /* don't cache block age info for cold file */ if (is_inode_flag_set(inode, FI_COMPRESSED_FILE)) return false; + /* don't cache block age info for cold file */ if (file_is_cold(inode)) return false;