Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp12368pxh; Tue, 9 Nov 2021 06:38:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuqNQOSpY8LS2BTesOsNBwIHUoijveS+Qp2W7jI/S5MwqjIVNhznTcksq5ntTwt+OpZXwT X-Received: by 2002:a05:6402:3488:: with SMTP id v8mr10985519edc.170.1636468724557; Tue, 09 Nov 2021 06:38:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636468724; cv=pass; d=google.com; s=arc-20160816; b=jtXSHv2bbkFx8YiqlxuY1zFmcbVIL7XkgW2fW32vSEUQVWJJAnP7jTToIisSb9YRgW H0hjuBs20ZJP/nm/zEAiNXGFIWmJu1D7MwVM17EO1KkkrjTozsIdnu7Jpzoe/3h/gg8U 3NXRL6O5vsWd9KBqUzKRwtTW6t7rZAWclWwe6Xx01PzhAIHGqXYR2UvJQdPJo8/pfEP+ T0ZjTJIJF5oued31qeINp1WfwFOVCGhYV19gZmyzEZD2ZKBbht3XdZZvqdJTjgYdC3FU xjylI781XaBswOFDFpK8tOhCjL86MQQpDhSoWC4+5rpOzU5SnKpKantEkbV4XV3ZGodB dneQ== 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 :in-reply-to:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature; bh=r/hj6X4P9Wa89nsz0roIx6mkjgd5Eg5m5BqyHaFGDOk=; b=p80CDvRwzApoTdEQFWz+/GJL8svryL4iBMTUde2D3GFbuf44OM5mTpffLPmiuPmZkc VUopEDE517xR9t1le7ULc4JuLqLx2vwOX7pRhih+9YyzhgAaDaemd7yikl8P/Az0skNP sLDZbbu5RYjYceDBvr9hEFcLf4hZ0K0KJ20ZesZmju+mICw8zQJKaRPl5srA68oYFNDH Y8qf9jZ8zIX0Tkhib6benVWpnhl9pCpVIihISrXAmYI7sN5u6BjWp3nwQiGc6NW8jfd/ oaM9CRTQEvRCg1D2699DroaQQzaQ3pL8mMA66q2zACkWBdtkAPVqm4XLvD3XqibGjm4H MxAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oppo.com header.s=selector1 header.b=tzoAUbl+; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oppo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb14si18528429edb.35.2021.11.09.06.38.20; Tue, 09 Nov 2021 06:38:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oppo.com header.s=selector1 header.b=tzoAUbl+; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oppo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241225AbhKIHdD (ORCPT + 99 others); Tue, 9 Nov 2021 02:33:03 -0500 Received: from mail-eopbgr1300049.outbound.protection.outlook.com ([40.107.130.49]:35277 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232740AbhKIHdC (ORCPT ); Tue, 9 Nov 2021 02:33:02 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SkRSi4BcBZowoY6fQB+ZqW1yuCx65gU6JGxnvc2F/yc5NMcw8gcQMPPUoq3Q67XGVLwEER9ahvN7Ovayv9/QpnO2sWSNbt31pByDEeXhv3KEI6RH0jAu9PwezgUBqzt7jMeTwsLgamZYaulCwe2lypgwhKL6rxS8IdQkH8vzz87hOR9VRfC4FPGCIQdgHVyvBDULtBZT43asgx6DmfOZjUe2IYHQI+u0VPtmnpVFJKKTSQTd9ZvwYUw8rvDPfZAXZY4Yq7JsOnnX/kvgH/yJY4GlpLvA9jccJF1JW6tIRkNRkPD14Ji/hyGxfP99y9BxyqTGGWAzffvps7TLvhpUCw== 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=r/hj6X4P9Wa89nsz0roIx6mkjgd5Eg5m5BqyHaFGDOk=; b=bjFblSEbgWrQtQvbybCo/gpHZBlsiDcqkIcpJjbxjRkwyssBPwMAUABLFyXe5Oe69kDDzyYdjw5quBz48RstIUp2n2j1ZN2Jj+AD3fp5R5AaD6jqPVTU+voCGXbNeGOFf7Q0ynyOwERTxtrxzqOeCQz8m4QUHNS5tq/U4HmLBA0x/zjLqPHjUWh37yAugHi1fUG+FPUop/+EMOYBL6bBhp56Fd6vdtTQtTPBoNdQGXmqTcZ50bfVFl333t/v8cdVCyihaKIFHc4Cdmu339YNygfTfXk8LfERVoWrwxprH8eGvtUt3VYCC+g6hhBa0c80ig44Eu6L3UK4ZV/tgvluhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oppo.com; dmarc=pass action=none header.from=oppo.com; dkim=pass header.d=oppo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oppo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r/hj6X4P9Wa89nsz0roIx6mkjgd5Eg5m5BqyHaFGDOk=; b=tzoAUbl+THiJPsMMtpJbKkiccNvsNZoz/A8c1pM8d7NBPdLpymU9k8hLIZnmhurXDeij6uohDCUODRdSYM1W1adEngJMD2ZbQcln/xzAVgNfZFVzFk+M9+ympA+8MtJzwgztjbT6QEPAfsVuyKe+Do2wCzx7FOFeGJjFLnSEl8A= Authentication-Results: oppo.com; dkim=none (message not signed) header.d=none;oppo.com; dmarc=none action=none header.from=oppo.com; Received: from SG2PR02MB4108.apcprd02.prod.outlook.com (2603:1096:4:96::19) by SG2PR02MB2557.apcprd02.prod.outlook.com (2603:1096:3:26::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Tue, 9 Nov 2021 07:30:13 +0000 Received: from SG2PR02MB4108.apcprd02.prod.outlook.com ([fe80::7e:59ef:bec3:9988]) by SG2PR02MB4108.apcprd02.prod.outlook.com ([fe80::7e:59ef:bec3:9988%7]) with mapi id 15.20.4669.016; Tue, 9 Nov 2021 07:30:13 +0000 Subject: Re: [PATCH 1/2] erofs: add sysfs interface To: Gao Xiang Cc: linux-erofs@lists.ozlabs.org, zhangshiming@oppo.com, linux-kernel@vger.kernel.org, yh@oppo.com, guanyuwei@oppo.com, guoweichao@oppo.com References: <20211109025445.12427-1-huangjianan@oppo.com> From: Huang Jianan Message-ID: <8ac546a2-25c9-a694-a82d-91984c826436@oppo.com> Date: Tue, 9 Nov 2021 15:29:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: HK2PR02CA0187.apcprd02.prod.outlook.com (2603:1096:201:21::23) To SG2PR02MB4108.apcprd02.prod.outlook.com (2603:1096:4:96::19) MIME-Version: 1.0 Received: from [10.118.7.229] (58.252.5.73) by HK2PR02CA0187.apcprd02.prod.outlook.com (2603:1096:201:21::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Tue, 9 Nov 2021 07:30:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a277261f-5a9e-4a4a-0be4-08d9a352c4a1 X-MS-TrafficTypeDiagnostic: SG2PR02MB2557: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hzPCIBKRkRbBlL+OZ8hbhk9jOl/3oWWXHacsHQiFUhbjfNfXiPNKj9QUnw7jLMuc4P7gQxbYcRMzHYK95ZDHGYe5Qck0lhqpBApdY6z2EfdfNbsPP17kCXweKlAJOdNMGBQkUT31NGEhyZWT4O5ab1u4EvEZ8sVxq/vM6ZrDxkl6GXbLrSHHLWm4ekQXZpJTEAu0h5qq31vJidhU1GLhzLj38Tt3X13oqLIYpF/YA6p7urHPJ8CV/IOPNItP72OUYoXfS6vWeqsEaFMcuzR+cXEYp1gw8Yqx4wtt1wk3e7iuBHZNw6CHuBnyiGwHVA24M82MQJE2fruu1Y0onmp4UVsff8JPPeblqLa2GF2c3W9W3vT2v1GIAvdTp7uCuZkLDQr0yRiiwPoBgM6C3fBOoW3sXlz5Pl6yntx1DYvRy6y4QFqsk+uNxAYc4banIgKpP9TtUCdMUkL5ZnOdLh/7QCvEYkYJ2fZoNxeMXpnXWZPahQ5TPTQlPkNx+TIvoTCgmP6hbm70ecDxn+njzyqGOFLnlMYt0NbaNL6e/nimVUd9m4Oq2ZeONNuN+UWy6T0zZgtdYWPJc3C4UFKBaImi2RPqJ54+eLVSln5V45nKB1wQVxqI8faf1qrK13s1oIJKmu9kJHl6Cs9HQ0zUOIgghtTbJZ0mU8+kL4+pCarPQy3MwzoglpNf+md4pMmQI75HpV2xFKLhyW/tyw+WrMccmrFIbseA3N6f1g8ZQi3ZbJCsUdc4mq0tAN0+PjvYjQnDL6Hk2otEVF0ywxAath+peyYuKUWQkHj+V4h2XJybzTE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR02MB4108.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(38350700002)(186003)(26005)(6916009)(6666004)(956004)(2906002)(31686004)(16576012)(38100700002)(31696002)(107886003)(36756003)(4326008)(6486002)(508600001)(5660300002)(66556008)(66946007)(316002)(86362001)(4744005)(66476007)(52116002)(2616005)(8676002)(8936002)(11606007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c3h0Qk1QUWdSdk9oWnl0ZXhBcGtJUEhYUFgxV0JwbzhiTlNqVXNDOFEvYW5H?= =?utf-8?B?S1lBbk5iM2RaUTdLQjlHVWNWN1hMc0p1L2V2L250R1ZyQ203b09PYlJzM1ZT?= =?utf-8?B?a0NDYUM4OTlnWU9reXJBQ3Q0b1dkYUtISER1YlJXQ1ZEMVAvTFZqQkRSZ0RM?= =?utf-8?B?S2dQV3A4Q2NiTjMwZ3dCU2xldXZyMW1VNFhqbnYySnQ1SVNyTnExaWdsKzFU?= =?utf-8?B?M0RYbnBNckUrVjNzVmZVSzZqRE93Z0lvU2d6VWFkbFhabkN2SXlPT0J5ekN0?= =?utf-8?B?bFZjVTlvcGhKVVZVRTNrRm5ydGhWb25kY01rWlhidDVnTW9xVnhIdWJKaDBa?= =?utf-8?B?cmpSenA1U2V4ODlqNXd1TXhOMkpsUXBET3NBZC9zc2VFT2ovb29RalVaVm42?= =?utf-8?B?Z05rM3ZJZG4yMjJKRlNLYm5PdVpBeGlVK0NVSVYzTU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e-4a4a-0be4-08d9a352c4a1 X-MS-Exchange-CrossTenant-AuthSource: SG2PR02MB4108.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2021 07:30:13.4408 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f1905eb1-c353-41c5-9516-62b4a54b5ee6 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 46cFX1FLdNHW6udlquDjOTh6+zpSDaydx8Dsqh/Yj82j6FkWJLb72q5ZC9+OP8IujRQohEKccvpSV026TK+lEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR02MB2557 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xiang, 在 2021/11/9 11:10, Gao Xiang 写道: > Hi Jianan, > > On Tue, Nov 09, 2021 at 10:54:44AM +0800, Huang Jianan via Linux-erofs wrote: > > You might need to add a "From:" tag here, otherwise, the author will > show "Huang Jianan via Linux-erofs" due to your mailing server... I have used --from, maybe I need to add on the patch manually ... ???? >> Add sysfs interface to configure erofs related parameters in the >> future. > s/in the future/Later/ Will be fixed. >> Signed-off-by: Huang Jianan >> --- >> fs/erofs/Makefile | 2 +- >> fs/erofs/internal.h | 10 ++ >> fs/erofs/super.c | 12 +++ >> fs/erofs/sysfs.c | 239 ++++++++++++++++++++++++++++++++++++++++++++ > At a quick glance, we might need to add sysfs API documentation > as well: > Documentation/ABI/testing/sysfs-fs-erofs I will attach it in the next version. Thanks, Jianan > Thanks, > Gao Xiang >