Message ID | 20221118174028.63702-1-frank.li@vivo.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp327585wrr; Fri, 18 Nov 2022 09:48:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6BC5QdGXo9wvlSzXgERdQzeCY9hYSHZHZiFWBqON0lKPNVUiZLyOhDkJI2gvpCA2/s4UD3 X-Received: by 2002:a17:906:eb04:b0:7ae:77ef:d048 with SMTP id mb4-20020a170906eb0400b007ae77efd048mr6963093ejb.740.1668793694441; Fri, 18 Nov 2022 09:48:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668793694; cv=pass; d=google.com; s=arc-20160816; b=p3gBlk7UkltBoTzgf7Cr45Z1mh3zdEk05h5qtfmP5i0fWUWH2GjHEq1yglqioaatQV xm4fBc+KN3K5ykxQHZ2ao1Kw8IoB+grTlbYjas64aEB8ZcOl9pAyGNYRVnje7UmyOLMQ 9zfpdJahu9Sttlk98tGT3UYsEehjARLWClICNsB/XES4XfEh082MI15ApPUp2FK1ZGdE w+0kR+3KA48L7R2Or7of+GLh6zIL8mIQo5By1jxMW0QqcUNQ6fLDTNFxSDWD6KS0F+Cz Fgx9WhQGqvVVjFjlh937zsG16e4YBfoyfGNRCXlG2uBVPiiXwy/JJfMZ5AD411hC2naO kWSA== 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=LDwuWC9zt+tQ2uYJl+6EFV0UgX8G1S2XNuiwSk8RQig=; b=vaUbr9GvUoRtCNMRf7/4rZxmQ2Osgruu3abo17t9k8CLD9pxIdCHci+sbMBYVolSIJ MEO6H8vcdWwC/97Al5OfzPa3HilyJxGYyV1eeExO90Co/nBxJxbnyr8AW8O1AnbrWpqB DuxsVXBzl7Zi6VY/6fyv3K2X+6UOYtbLhAZ5yiVjE0sjU0fl6Wkg0JS9GlIMPVEm1S+A XzpfJwU7E0adhjj5xj96Mf1P0jmHjg7GEu2CPh3W030MeTsFYfi4U8GLTwpf6ePKhRjJ q4x1VK1DUbfHCYEBrgUSqr2O6rE3oh/zgPHP5wDr0Lgjw2zb77101AcfJVCJ3+oENToa WFCQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=keB2yV2V; 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 z20-20020a05640240d400b00458cbb6b6easi4182074edb.167.2022.11.18.09.47.47; Fri, 18 Nov 2022 09:48:14 -0800 (PST) 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=keB2yV2V; 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 S242290AbiKRRlB (ORCPT <rfc822;kkmonlee@gmail.com> + 99 others); Fri, 18 Nov 2022 12:41:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242239AbiKRRku (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 18 Nov 2022 12:40:50 -0500 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2102.outbound.protection.outlook.com [40.107.255.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BC8E24BDA for <linux-kernel@vger.kernel.org>; Fri, 18 Nov 2022 09:40:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lageZJkc33pL7CXW4/ymN04sqSi7W8COah/UFdUglVlyYL11LMjjMER18ZrUWlRaRvZUow1lpK0b10bTyd3l9uMm5s81Cx/LuD2v7wyToWYsJFxOlzCAzokKi1yVYBOJNTN5lAv/HPeeBUSwFzUJISf9CVeEd1GgHgYBcwENtLDqEqt1L8W6xJvpLG8GwrJfcH4Az2WI2cUcQtZ/6N+29+2xGASSdV5b4SBeHjcQHZAnipCHqP9YQvAM0AHr0fUzGT/L20SfJNVN/i9s46o6MBHpU0SWy/Yjr/WEw9MBTTSymX9NryuMhwIEZF41B0f/u5iVa9DU6PzgNwtmnLZvsg== 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=LDwuWC9zt+tQ2uYJl+6EFV0UgX8G1S2XNuiwSk8RQig=; b=XJyu65sRrqTk5XQBRNCu6L5YsKoOyItg8qcylMuZNcLZDpdH3h9kjr8VUwevf6BVTw1H1VQ7lQpOFKjBnFP4W8fimQnucP5T7XZ3uQCCq5DOR8P89fMKJpvnrV7/371BYufCjTiiYDP/bsb16dq7fuwUH18Omn7oA/Yik3NH/UTCYDfodsWG11VV9RAxz/bxFSwYihkrpJeMrN2C3nJ/ct7Bgkw+6IH9lba9e+hICM3MJ+XfW4pEqrHHgteM0+yFyoUfKk8XBSkKRDX3xWQrsgohBNI56hXs7+EzVPzuUaVIT/nxbbUj6o5MdVx2jtXYKAOXncnidSVY3okgYw0K2A== 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=LDwuWC9zt+tQ2uYJl+6EFV0UgX8G1S2XNuiwSk8RQig=; b=keB2yV2VZ/AOjVkEQM8taQ+3KS4KWmfBblsI7Cv8lhuCWsP+J0WlrWLSoWTg03NPHx/V9CP2U+ytIlNdS9mOjx6dQQp/f4PbuxCKCA17uBRWt4g2D4ndavBmnoAU5XBPl/kPxbgahLlq/3hC3jSTTUtSjYsCy5qExxqHXpvmy24+r6MN8n5NtGeODSzXZemRs+8VuhOXeapbyBpOgKlyGMP305qafvTrSnTKacJx8XCzZKrxbU0KnYnPQADMTGCHlt+k2OJUFqLgoREUpxwUoT/Rfyjd2sAhSfRpR+unD2UxrcS4K9xaXofoE4qw+qfpcv8sobsxH70079KRTjsh4A== 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 KL1PR0601MB5749.apcprd06.prod.outlook.com (2603:1096:820:bb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.19; Fri, 18 Nov 2022 17:40:43 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::1230:5f04:fe98:d139]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::1230:5f04:fe98:d139%9]) with mapi id 15.20.5813.019; Fri, 18 Nov 2022 17:40:43 +0000 From: Yangtao Li <frank.li@vivo.com> To: jaegeuk@kernel.org, chao@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Yangtao Li <frank.li@vivo.com> Subject: [PATCH] f2fs: fix description about discard_granularity node Date: Sat, 19 Nov 2022 01:40:28 +0800 Message-Id: <20221118174028.63702-1-frank.li@vivo.com> X-Mailer: git-send-email 2.35.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0200.apcprd04.prod.outlook.com (2603:1096:4:187::15) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|KL1PR0601MB5749:EE_ X-MS-Office365-Filtering-Correlation-Id: e3875e51-09f0-4c1a-55ca-08dac98c0453 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R2aGwfiny7eg6KBVZJQQdscewfMb2MCKCrAMqBxksmazgkBLdz9uk21DQsNresJgk0CECL89Abmtb8L7eRO+gCTGqHP1JMSFiNFXR3eP9W5RIIYMdpCxXi34L4hcqPhpjFg5MtqNYyDqTRGLb/asThbpmnITTTn7tLy6/6bA5oYO4IQA6nEbBJNC2QnFhQnkYvxJZwEawRpk+/1CRoLKOLGezFyyCC2lGozLLSAscaqtaj9HcFlsZsBILhkljte5HKiLkmKRuDxBqKVh8Zxy1AXFON3Fa5A6MbWHhJVGCTXI8SDMdvhXWYO3R25OP8k0uGKnUC7wJwNwODmfKWWrlQ6vbk30AnXj++JraUN+I0ntJ1Xq1v50ndgpWG5umfLVUiN0r3SjcZCg9msZ7VdAka4viTbXNHEi0L5786JQHyJB4iMBDJ1bLpokDQI+wjjxzBPxjuYK9OOTiWj7xU5PVp+1I4yu4X+P4czegALfGdPiZD00jV+PyDezWHBKW+YgqpvIaFhDDInDhrKnr995wFdqPqRNZgi2lTSJ45z4QpnQFUTlfWLQHFvfOmG6VVY65GSrStlSP0ED9WZ5ptSXih+BzbyClsYt/IiOE27nURC9e8xxcoqVlfgpUgnN6nSobjKhAtT0BFKysuU1qxT6/Rx0HGb52BfjD6Dl4omjqiKtGiqtT/81CkvJEY09IVWt 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)(346002)(39860400002)(136003)(396003)(376002)(366004)(451199015)(1076003)(2616005)(186003)(83380400001)(38100700002)(38350700002)(4326008)(86362001)(41300700001)(19627235002)(26005)(6506007)(6512007)(6666004)(52116002)(2906002)(107886003)(5660300002)(66476007)(8676002)(4744005)(66946007)(66556008)(478600001)(316002)(6486002)(8936002)(36756003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Fa6T9jfkoaEvbiXwq4n6MBsb0E9IC85GEyt+vprtbGOSE/AFw1EyUSV8MPvjZoiyXAXPq3sSgsFluT+n8LGDbAW34EYOm+7xldq5BUbkZPBYGUXW8/cK2Sl4J1odfbsca2XkHjYukVKiWGhj8dNFOHmJTo2dC2cP/EMPYXaINtoWC2umABseEc4MVvRRy9S8HuYaGL4JIiBClx0hzkEQTArPeFk+lh/u7qeJT33ilWyndZsP9rb1Db1Huzxbik26AYn5trh0Y4nEjfZhc2vlU6MP5hSlFerIyNKKivvYiwAwmbK5anvUe6H/r81SNVyA0ZDK028SuJl9CiPNhPKrR6mtou7geUNPwKDvWIZ6V1xp5ZEoclh0/HZ40sKfjde6N1lRC9+p0yJIu9Nab16qG7IbQe1pPwp85wOvgXEOH42MzU1yzCUAt750sd/7HvXc5WQppcBM71l72UIrMV9del/ZfTw4WYwnUtRdsnQonIMYvungIGs9cQxl8H4evSV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2BaVs5/y4e X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3875e51-09f0-4c1a-55ca-08dac98c0453 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2022 17:40:43.4332 (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: LGJaJtKJ/pWo8COXMdYqVOhNhMV6e2XPXl/VMUE8oiTfdTAOo3f6qEHdWW9mmRMOQBQHTBT+dHFnvs1JuEZ2qA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB5749 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 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?1749857016788986033?= X-GMAIL-MSGID: =?utf-8?q?1749857016788986033?= |
Series |
f2fs: fix description about discard_granularity node
|
|
Commit Message
李扬韬
Nov. 18, 2022, 5:40 p.m. UTC
Let's fix the inconsistency in the text description.
Default discard granularity is 16. For small devices,
default value is 1.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
Documentation/ABI/testing/sysfs-fs-f2fs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On 2022/11/19 1:40, Yangtao Li wrote: > Let's fix the inconsistency in the text description. > Default discard granularity is 16. For small devices, > default value is 1. > > Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Thanks,
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs index 24e7cb77f265..32404781e76f 100644 --- a/Documentation/ABI/testing/sysfs-fs-f2fs +++ b/Documentation/ABI/testing/sysfs-fs-f2fs @@ -138,7 +138,8 @@ Contact: "Chao Yu" <yuchao0@huawei.com> Description: Controls discard granularity of inner discard thread. Inner thread will not issue discards with size that is smaller than granularity. The unit size is one block(4KB), now only support configuring - in range of [1, 512]. Default value is 4(=16KB). + in range of [1, 512]. Default value is 16. + For small devices, default value is 1. What: /sys/fs/f2fs/<disk>/umount_discard_timeout Date: January 2019