From patchwork Mon Apr 17 04:03:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 83985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1871823vqo; Sun, 16 Apr 2023 21:13:28 -0700 (PDT) X-Google-Smtp-Source: AKy350ZQEqk2kyrQJWHC29xDFbaLSqNFmBEq0OFQdm4B1RIWxEtk9Bij9s3/JJfmL16TLvU4Wi89 X-Received: by 2002:a05:6a00:178c:b0:63b:4e99:807d with SMTP id s12-20020a056a00178c00b0063b4e99807dmr20354956pfg.8.1681704808605; Sun, 16 Apr 2023 21:13:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681704808; cv=pass; d=google.com; s=arc-20160816; b=UFaYWUdq6NtF54CUJyvFMNOHHhRu1XYEsVmyCg0CoRKCbDLZvKm6V8088ARIUPbuml 7qmnecsEwxnW2q8CYY6czTFLxhQlpTxESbRlszn3FL355QRwiI6sRqGOcdtVwBk+TK6O B7p9jFhMhMl1U8AB+Ru+38QOKAYcLg4paWkiaabNgFPO3Z92Jhffycv6huggV9Lihja+ x3ZfNEkJtVqlRW27p3GqK4+r4Pi+oIcyFA9ImREtIEwXLDS3mZmbpqUNQbqjC8EeWcHD 1fV5zlpgKI9bTa232yIccE/7DoZsvZ0ZgUIW4/VWvt7oTdE3N+WkF4EcpwfqkIQptpCM A1rg== 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=JxMorCe39oyljGv/LPbzRKguWOGLoeg0EnqNb/uMznQ=; b=LZbN6Tt0cr4w11Kqv9gH4PKN81klVl9DtgEApJ153ePslnSO5sLzcUtCgNzTFozmjA AyDp85gaLReLc+vIxrFJdsdWlfFg3eft+4Mb3gQSTFHQ6ROyMajLpS5LZrffH3V0UCkX H/3RmnnUhKPtfWo7IeBWS+E8lK5d4W9oA4tE6s9REBkk++IbXdjD5q0ZIgXJ7uwxKKv9 1X/A88ujQzZe/uhfBR1qcAnpn3PAsWymwA4MmEQby1Bc57PhNHmrzM1ItMVFL3xK+WhP CDNP0CITph4neRooybrFAn8bW+7ZaGBPt8klGszkCdHKkPIVqfXLoH2JbfY+JN4q9PnF pnEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=frZsn0us; 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 x18-20020a63db52000000b0050726756ee9si10994950pgi.92.2023.04.16.21.13.11; Sun, 16 Apr 2023 21:13:28 -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=frZsn0us; 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 S229640AbjDQEDa (ORCPT + 99 others); Mon, 17 Apr 2023 00:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjDQED3 (ORCPT ); Mon, 17 Apr 2023 00:03:29 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2120.outbound.protection.outlook.com [40.107.255.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B388210A; Sun, 16 Apr 2023 21:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jNVGwPzOmcO3nsDElyWP1OG+93ITvq2ZTQ6UNsrDbbX5cjf0IL+tFh272YMtp+P86AzHRslJjAEqgNB30SdTdFMpDRjNrcF9aV3J2HffBdZah44N0N+lxzXEg51EdjdJMOZbeDsbV1Y65FMO7KV6n7Mvo4moqLso1B3qDbXafA2IRvn0c1ykIefkP+wEf4x0xUGSRGlIifIomtv+V1kAthb2j9N1JXnAqvGwVN0DQqVo7CnvtdYxOr+gko9dnygLZ3o3MjjQml9ulZdcLGHsegwLrj7BznmWYuxwOACj2IBebTYlBtTLf2QR6PSpo8A0EBGCtfKh+jsfqpf2Phwnjg== 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=JxMorCe39oyljGv/LPbzRKguWOGLoeg0EnqNb/uMznQ=; b=Tj7+5mmkUX+E3Zh8GXJyH/MmD+cdTwzxpfM2GaNg5VU8kLBceZRodp5KcjE/KYH3z6cigPuKV8xBZsdXhVJLUBZU51PbTXBy2a5xke/5kRx/lH2D1iTyC6+j96jcQU5On8/YCeMUK6BYmHsmFc3w0CCjiH3QzamTLVI9Vt0LTbPmHSj7pMOinHfZ957Ys0YuqA8/Idny7tzuE+dROyhbA7jfgYeSxuR7GpVEE3O5EadvTNcCsMx0ToiBDIkXmucJ1S9mw7Q0g6WboGVzT2N09SsZZ6uY2UQ6ELZIaC7EMJpEBMS4ixojaM56+llYwhLuxbIRtCvFR3N2dI8pJb+j6g== 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=JxMorCe39oyljGv/LPbzRKguWOGLoeg0EnqNb/uMznQ=; b=frZsn0uslU50rM2wh4AQ3hb++14tsrm/+4iiQMuSpyhVi1ssam9MWBGUvOF93pZUY3tROForDcK8j/b64lNoEcocbKsWkv3qy57PitfmGX8cBjwApdOnHsUpaTAHlt1Zr5tByKMDuFVV+Rw7CqaGj90kZOTcQgA+aALwYdELG5eo9IXlwgGCdqyhy9T2l/0gRSsB08OSQI7TzQPd2HSKjTVX6AWsYijUq769Qd9aWZjSXpsPQSyXYJLZyX23laa09IEjSXnTN7eXQCMP5GUot9icOVVWyHI72htqnYJiebNS9qt7jLuYrSUAaDYHUlBxou5Ld7rSRh1W4yopP+sYYg== 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 SEZPR06MB5413.apcprd06.prod.outlook.com (2603:1096:101:64::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.30; Mon, 17 Apr 2023 04:03:22 +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:03:22 +0000 From: Yangtao Li To: Jaegeuk Kim , Chao Yu , Jonathan Corbet Cc: Yangtao Li , linux-f2fs-devel@lists.sourceforge.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] docs: f2fs: specify extent cache for read explicitly Date: Mon, 17 Apr 2023 12:03:08 +0800 Message-Id: <20230417040308.46621-1-frank.li@vivo.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: SGBP274CA0024.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::36) To TYZPR06MB5275.apcprd06.prod.outlook.com (2603:1096:400:1f5::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB5275:EE_|SEZPR06MB5413:EE_ X-MS-Office365-Filtering-Correlation-Id: b808e05b-ef47-4375-f212-08db3ef8af7c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FueN/Rho19aiULqMddGKwG0iy0871LP/TF22Nf/Y/sYyRFw+51KLM3LKndI0XN8yhNZTQp36NQfx/xByOt8iIBOeR5c9McgK1QZZsv+t9rJHNdxSLxEgzEmynB951TkVyHPXv99WwsrzlBYKuDL9V53+8FuGw5lTUN11CtfcBIw9HmDY01RkEwyhUsgfk4nlfNHdhJztYHCUv7o781adqzkZw1aejvG8p2OA+hsDRKG4qkwdJcNmkDKVvx6+vwhTerfcGeEluwU0FF1vcsbNqUwjg5xa5ZiTO/ELD6Zjd2IQ1OOylCEucsaeXIQTJDg85XmCwD2s/XDSBO7HPAeerD/J69lXSvauQP++X9RQ+CoUBYgIWoe/85OsjVigRWXN7T4m2ffENND1J9ZrIpMdagitZLzLTI9imj4m8IgBBdE3I+N80JMvpao/9eZWCvaOZM0xTSw2YonnXzgawTXVWkIfAoKG/MfWbaHVGzuichqQiHEJQauKVa17ISEd7jyLjOUpZWLjyyJMUTDqfvW/7i3gRntenbCglaC8BgAo+DbKnmqYKp/GcbZQL1+OUj1uZFsVbvxiLHocBqZzsv+hcmSQXsbDLivuoP4sMhnwG3m3TK2oQU8BQ7iTKrNFX05h 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)(136003)(39860400002)(396003)(346002)(376002)(366004)(451199021)(5660300002)(52116002)(6486002)(66556008)(66476007)(2906002)(4326008)(36756003)(66946007)(86362001)(8936002)(6666004)(38100700002)(38350700002)(41300700001)(478600001)(8676002)(316002)(110136005)(1076003)(6506007)(6512007)(26005)(2616005)(186003)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pYdTWZvTQu4TayY7QlJIx/kPmTDj917TGd7poiApKGtLhXLexy24YoN7zuy0pfeM4GqKEEqdWn+B0jR4u+30S5uBBvm7btycyDAnp7FdUP1X5OtikZaSP9ex/nqWz2Q84GVsER9DoVltM31pgp5/R8jO0LLuvvWO1YUqoNNO3jiohvAQzFu6MM4NO9RFG4xd3MEEh14GaF422Ixw+Pn7T64WgK1zYbxelVEOD+V7vAGVLP4LugSa7Ybgrfl93DpWr+V4X9zJeEV+atx96+M/PHlygEgCEwo1LejRgNJJ5p5nr8mUXyVLW3SWFMdPh00XtC5GqorepqsFrhfKa2AsqILhBiouTHP9MWbCg6N46sju44Wi8WrvpiiJaEBysfMAoqmSeyTbTS1Zi5yGEQ5cT4CDL0MSpoSqwhYh0pMwRacvbOHZz4cg2rhg5ILWOy+tpSAwS5wGBnx1A46bYK47e20qzaQJ3V9zM4/v/G7w71wy4PXgZXJLC0Cmlv9+taHx6AW1/CYj9G9JXUoIZd/AK+pFq+cZKlC90MB2AFg6riY7pIoFoiGVO71gQ7/TD98oMmzIr2I7afsieAc4u4PPR3PWHcnFI6qzTAnt8uBWodWDmq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thSource: TYZPR06MB5275.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2023 04:03:22.2295 (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: U+H1pkP9zJGjjY8fHV4VfFs82hSsrBBKOxs9bb2FEd6SmLsjbivPVOvmmzG7tHNo7dGthol0zq4zArh0rDF+4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5413 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763395301613645634?= X-GMAIL-MSGID: =?utf-8?q?1763395301613645634?= Let's descrbie it's read extent cache. Signed-off-by: Yangtao Li --- Documentation/filesystems/f2fs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index c57745375edb..f68337086dec 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 +extent_cache Enable an read extent cache based on rb-tree, it can cache as many as extent 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 an 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.