Message ID | 20230417044100.56409-1-frank.li@vivo.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1888204vqo; Sun, 16 Apr 2023 22:05:15 -0700 (PDT) X-Google-Smtp-Source: AKy350bP7bkrMxSDUNpRAclKNw5hPo2Tgb7OyZh9tskV5g4wPvWCSEmnSE5sz532jEWE3snPc0Vm X-Received: by 2002:a05:6a00:2401:b0:626:2ce1:263c with SMTP id z1-20020a056a00240100b006262ce1263cmr18430551pfh.5.1681707915625; Sun, 16 Apr 2023 22:05:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681707915; cv=pass; d=google.com; s=arc-20160816; b=vUPAEevVYbQ3jUGshw35JK6KRrsLk/0Dpw8aKfjHssONMX7sdIpLedukBqWqA8JHMj b8l78fSxDOFZI07sN+17QPvKWlcZhxj5pebHJnf9JoGoY6GVhmIfAaMVGwYnln3eipmK DQS3MXPvRphqMp9MaUGl+jjIWgiyaFMBujw8ejCn+vp3p2deLRzbYYuuHFQ0vFQT8jDT 45xDvvk3A2wFv4DrB1MNV8uTHq7TYlHsOymENcGkf2jfoDhSM19FbbsDRuyLgCRCrgRd f4v95oIHqzQG+ZUKJ0yiW9fX8T3VsCK8JtnIqPzk50S+wbWD7mjms+S1pjG9xZClaK8T WfFg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LRCyXawd2J7MaaYWT9bRYzad+yct5dkOwX5dc//iFz8=; b=y1ap2Udc+7+udVmPhb88c/vuFPoKn+naCQn3EoNj1FToky06jejkfWZQDn6/Uaj+QW Sx5otL8U59dw+EA/EYuDkM7wOuMziRaSMqH9oQ/wAcLAXgsKVp9pk31NZreY2ktCvi+d K590dT14EKviMcC3YRBZQS7uP+HwcbYabX1BPg4LbvGTbLis6bLS/sPTrgwq4ZGdqiBE 46twysuNXkoViI5m7oG+rHva2cTDKpzovSPDhZT6giqEhuAl0biTV5nLCGA9yzgw8dIw bNafeBLJqgBv6ivkfJzNio05MZ7K5zTrobM8puJcyEwDTO7c912xcy4jNYo1wEYpbAYF uWSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=R3IBZ8Li; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z34-20020a631922000000b005132342a587si10906038pgl.610.2023.04.16.22.05.03; Sun, 16 Apr 2023 22:05:15 -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=R3IBZ8Li; 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 S229892AbjDQElk (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Mon, 17 Apr 2023 00:41:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbjDQElV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Apr 2023 00:41:21 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2103.outbound.protection.outlook.com [40.107.255.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2EFB2D73; Sun, 16 Apr 2023 21:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q3tBRpFn7ei073fUYF7zo8HHTVz5EMEyXkh7DtI4IvFb/Xpxef/RtnODR2j2w98851VitW6l4IH7X22ZBXrBv0jqiUM2H3JaFPuov2lHM2OrKw4c2hmrbYpFD3PL7SONDC2CnZjS4Tf+1bBw/T5XHTEzdFZcf0jRguUZnNSjpRvQMg80WGViv+f3rFGtj5htSlGhw8C4+352/j2ce9HLEOVv5a7g+AO2tqF1hpuhj+7ICU0pHSiN74BKoh2atQjyT5AzdGSKnBWibgjVJpgejUYDJ+aYCQ/NsjmUPMmUVy2JyUoSx8q5oEfAlep1au/USgU6LjjpYKV8QnBKMmJTzQ== 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=LRCyXawd2J7MaaYWT9bRYzad+yct5dkOwX5dc//iFz8=; b=fv/F5xZQ72kdyPPR4az2SdwxM4YhwaqrrqbDG/WTF0bNL7oFq6bEd6JuiRMn/5AlwewU0iHr/LidE0dUf+yl54/93xXogPDcF9u6wvhZpoaZDAN7iOeIfiKE/79o5G/nUuBSRRYxJMIYrNCaNCgmi8boAa69lWT2KrSkrPVTXh9oXgU3hBQZYOSrnYoEEDE5n6vgeNzek2y2AnXBm5I/tcxeeAbh63RiOR51j+roPVTuk8/S52W2A/i0SdW+av9zf2AyeVjR2+qFogAWmcmzlY68hanYSrUaLhcRhtCTt2Slav9qj62FxrwlbKCsFeiyyu6GtpUhjqsyl+lAN24prA== 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=LRCyXawd2J7MaaYWT9bRYzad+yct5dkOwX5dc//iFz8=; b=R3IBZ8LizmaxSCVLvuKgFC7VQ7HjlxQvx92PuWqDPgDcjTQbnfxJI58vN1W4Vw+gVaTCgEowtTbEtWUt4VTmgrOUAaEG0AqCihP+2aQKqlNxJ0olgXywCsDwakdT9Py5RdCd4MJY5cG9wfXaNdTDDAc45wWE5CuDaW/NHpfnGtgu/cWIHkfxGjPzOjzgCXlhMHCLiwb4kFIw0nr7sPrq2h8wP5+/wIod+XlrM4YhhT0GGa4hfAPdWgvMEhjVTL2x4zh5p0i4yf+zyMBcjF33AAA9bohQm4Z80o7G51Anf7R0MPAFlPhWuHOOKT8k/+7l2IqDchojRkJnkIspCChVSA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB5275.apcprd06.prod.outlook.com (2603:1096:400:1f5::6) by KL1PR0601MB3875.apcprd06.prod.outlook.com (2603:1096:820:21::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Mon, 17 Apr 2023 04:41:13 +0000 Received: from TYZPR06MB5275.apcprd06.prod.outlook.com ([fe80::16db:8a6e:6861:4bb]) by TYZPR06MB5275.apcprd06.prod.outlook.com ([fe80::16db:8a6e:6861:4bb%6]) with mapi id 15.20.6277.035; Mon, 17 Apr 2023 04:41:12 +0000 From: Yangtao Li <frank.li@vivo.com> To: Jaegeuk Kim <jaegeuk@kernel.org>, Chao Yu <chao@kernel.org>, Jonathan Corbet <corbet@lwn.net> Cc: Yangtao Li <frank.li@vivo.com>, linux-f2fs-devel@lists.sourceforge.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] docs: f2fs: specify extent cache for read explicitly Date: Mon, 17 Apr 2023 12:41:00 +0800 Message-Id: <20230417044100.56409-1-frank.li@vivo.com> X-Mailer: git-send-email 2.35.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0024.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::13) To TYZPR06MB5275.apcprd06.prod.outlook.com (2603:1096:400:1f5::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB5275:EE_|KL1PR0601MB3875:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f931cd9-0c39-4d53-2afd-08db3efdf8e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Wac1rSq3Sl2mYZKklXE37B1c+I2Tsm4N+rXiN1erF7QEyuq/gp64/uYsi8R0+TA9s3BZF28rhfJ158dOen6HAPH66LCyWytzdwtjegGhQ5kifWPEY1W1gJbj39Fs0uCycWE3Qd96lg82CrymbImXrxQc+KY1t+OxqsCmlgUwcdzN6MOdDHYHGnVYdqlCK5lfGc9TFehgF+uaobMG5k4oK9vuKLzzGepzec45RdROmoDW1x/0AR2RfMIRNtoGwlEmhelRgGAL6ux7pE2V27UIAJlUBrEW4CHB02RGRlPeHoeRH/iO1A6Iv/BrLVsc/xG/7djzbxi7J/h2DYbH2w0XHw50A0NVATPic2QkdgToIOJQJQg8KaBJlRoovPMznT399Dvp+U3AuztG2cdXbAUUqz+/Ca6VDHF8E0NgXSkp2Cu7H/dC40a/zXK4s8dJHLa5lxOhViLYwkAAUyf0h8SCv4Oocxc7qOzS3YX3X+8oceVM7FILmxOH/7B1+0MPacQP2A9ETgC7FVbWzosr/k/eEesKW8DESAxofvSPEfoevoq6eR2IGtV0QhfGqMHj3oqIoZeyD4SGzWXJu4YRTz3+CfE3DWG05TrKSwm+A6GjHqH+Clj9PbcPHwco2ASXVBfW X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR06MB5275.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(366004)(396003)(376002)(136003)(39860400002)(451199021)(4326008)(316002)(110136005)(66556008)(66476007)(66946007)(186003)(6506007)(1076003)(26005)(6512007)(38100700002)(38350700002)(2616005)(83380400001)(41300700001)(5660300002)(8676002)(8936002)(478600001)(52116002)(6486002)(6666004)(36756003)(86362001)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cpJVbAjc6mPD7rMac30QqWzm+t83FyOL1x66hQcfZtMMnxcSWdfzeTSJvQkrNoAPNQy9lfRPQuzxjmZgOZ4kLPtV1VKdHJaN0/JKii32ke2E+wfk74KGMatw9lcYsIrzoeIZhWT00U6UZ/kT54FfhPiqI1oEUU8RCtF3tW1DIvvxZS3RU+pSJufA4J/STFugOUwU0OA8grocXOWZ7n+JbB+yitPtUMfyKXFVAmjV1F5+UfZy5d1NVBQznm98+zZOS8DmZyEsAT1crjiq38VVFFxDN0axfsliib8NrJjkOoWXrbdatfWD/BY5gvzyj0AtiLn3CEaBOykmiYyY1GduQu3l1ALiI4dn2YWxFh6Ofc6Y0zu6yawaOCUhY0WshvUtzZqW9sKzHglKaH5jJbxGVCCCT5kyG6bLTY5JG3cLF7RmfDpOQ352+ZuMghAWMb4GbKvBBGMY8nhZWEK3VoVBSlhW2ENiDmhEy/ytt57lIFqLFrk6rkFlflv6vhrAJhS4Qv1iyhrTFnrYPSI/36RM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vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f931cd9-0c39-4d53-2afd-08db3efdf8e4 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB5275.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2023 04:41:12.9088 (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: JNSAvRu/39euGZmiUZDPQP3sUvqBrYh5PfYsAl5rG4Q7Q6DczAhKQ8SqhCTlbNSSX7TP8j7thStfMVy3NLj9SQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB3875 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,T_SCC_BODY_TEXT_LINE 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?1763398559259259197?= X-GMAIL-MSGID: =?utf-8?q?1763398559259259197?= |
Series |
[v2] docs: f2fs: specify extent cache for read explicitly
|
|
Commit Message
李扬韬
April 17, 2023, 4:41 a.m. UTC
Let's descrbie it's read extent cache.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
v2:
-s/an/a
Documentation/filesystems/f2fs.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 4/17/23 11:41, Yangtao Li wrote: > Let's descrbie it's read extent cache. "Clarify the fact that extent_cache and noextent_cache toggle read extent cache on or off." > -extent_cache Enable an extent cache based on rb-tree, it can cache > - as many as extent which map between contiguous logical > +extent_cache Enable a read extent cache based on rb-tree, it can cache "... . It can cache ..." > noinline_data Disable the inline data feature, inline data feature is > enabled by default. "Disable inline data feature, for which the feature is enabled by default." (submit as separate patch). Thanks.
Bagas Sanjaya <bagasdotme@gmail.com> writes: > On 4/17/23 11:41, Yangtao Li wrote: >> Let's descrbie it's read extent cache. > > "Clarify the fact that extent_cache and noextent_cache toggle read > extent cache on or off." Please stop nit-picking patches. This is good enough, though I might fix the "describe" typo on the way in. >> -extent_cache Enable an extent cache based on rb-tree, it can cache >> - as many as extent which map between contiguous logical >> +extent_cache Enable a read extent cache based on rb-tree, it can cache > "... . It can cache ..." Bagas. Enough. Seriously. >> noinline_data Disable the inline data feature, inline data feature is >> enabled by default. > > "Disable inline data feature, for which the feature is enabled by > default." (submit as separate patch). And please stop trying to make additional work for others. If you want to improve something, submit a patch yourself. jon
diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index c57745375edb..84911b7aff25 100644 --- a/Documentation/filesystems/f2fs.rst +++ b/Documentation/filesystems/f2fs.rst @@ -163,11 +163,11 @@ barrier If this option is set, cache_flush commands are allowed to be fastboot This option is used when a system wants to reduce mount time as much as possible, even though normal performance can be sacrificed. -extent_cache Enable an extent cache based on rb-tree, it can cache - as many as extent which map between contiguous logical +extent_cache Enable a read extent cache based on rb-tree, it can cache + many extents which map between contiguous logical address and physical address per inode, resulting in increasing the cache hit ratio. Set by default. -noextent_cache Disable an extent cache based on rb-tree explicitly, see +noextent_cache Disable a read extent cache based on rb-tree explicitly, see the above extent_cache mount option. noinline_data Disable the inline data feature, inline data feature is enabled by default.