Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp749931ybe; Mon, 2 Sep 2019 08:34:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHiEGy2hnGCBbb/5+XnutYfhY/7+yrXK0ClLzQGQeHte0cSOF+Ci+rXPjADSBjK9Y2i7h3 X-Received: by 2002:a63:de4f:: with SMTP id y15mr26765370pgi.239.1567438442061; Mon, 02 Sep 2019 08:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567438442; cv=none; d=google.com; s=arc-20160816; b=v2aNyIZOLQfsiVvBCdnKtmbns3rehgC1itRPdTYn91QyLtdkx/vqOQqwUQGtKAk57n rH0jir3Da9wffO+dMCt2zb9T6WFVliVhDY6em35TTtWkCFzsAJws7Q8qECRlKiZBIKC/ SBnO0aBF3txIlGe1G8phEcbMD0cqM1cCYUWd8ujsty4t2ls9hk/pIN3ql0yeR2OmaaI6 XOV8GVLlN7S0T99HtYqgp2wtVRjSPFh37QqnwjXVZYj3/kATW7AADqLjRYA+jejbriYI 05fxQzjBKCwCgCSli6gL3Dm+uGRr2+ZlKxI0d5nuE6UOPrhEp7a7o98+Axr00zfZ7wRi lT6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hfhwmSVya837hbP6qwBiJ7ckn9J//c65nNCeoweRKzA=; b=UHSLdr9NlnLbWXddpRu/xeGMmAEdyfkdBMA+vMDME7YzNqZDE6VLgePabHDL1mpWJH DAehVHc2gOzKMGqqV8huWVBuQLw1MzW753ta+O395G9zrN4YOkkTW/TxwdilFfcxx0uO OdrP5ozZw3OTBZAO4ihwy90ifQRxQAIg8wh44SL2qUQ7AlK+bUYAaotoXMxtA7LIz3VL idhyaHdQ4KZ0FDwI86uGMJhGyRZ4KGN0Ddv4NWUhBjfLYSV5KB7Dwf2loFinb5FvVMIC oCyULnlSMvD0lH1gxLcnbSjIr2Fe/dECayWXOiF1zNMV+f/n8Gcn2Q+ZXbVbONYeRW9k ck8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3si12029547pgn.467.2019.09.02.08.33.46; Mon, 02 Sep 2019 08:34:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731804AbfIBPLY (ORCPT + 99 others); Mon, 2 Sep 2019 11:11:24 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3991 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726447AbfIBPLY (ORCPT ); Mon, 2 Sep 2019 11:11:24 -0400 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id 93A29523D8D4C3635C29; Mon, 2 Sep 2019 23:11:21 +0800 (CST) Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Sep 2019 23:11:21 +0800 Received: from architecture4 (10.140.130.215) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 2 Sep 2019 23:11:20 +0800 Date: Mon, 2 Sep 2019 23:10:29 +0800 From: Gao Xiang To: Christoph Hellwig CC: , Chao Yu , , , Alexander Viro , LKML , "Greg Kroah-Hartman" , Andrew Morton , Stephen Rothwell , Theodore Ts'o , Pavel Machek , Amir Goldstein , "Darrick J . Wong" , "Dave Chinner" , Jaegeuk Kim , Jan Kara , Richard Weinberger , Linus Torvalds , , Chao Yu , Miao Xie , Li Guifu , Fang Wei Subject: Re: [PATCH v8 11/24] erofs: introduce xattr & posixacl support Message-ID: <20190902151028.GA179615@architecture4> References: <20190815044155.88483-1-gaoxiang25@huawei.com> <20190815044155.88483-12-gaoxiang25@huawei.com> <20190902125711.GA23462@infradead.org> <20190902130644.GT2752@suse.cz> <813e1b65-e6ba-631c-6506-f356738c477f@kernel.org> <20190902142037.GW2752@twin.jikos.cz> <20190902150640.GA23089@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190902150640.GA23089@infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.140.130.215] X-ClientProxiedBy: dggeme710-chm.china.huawei.com (10.1.199.106) To dggeme762-chm.china.huawei.com (10.3.19.108) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, On Mon, Sep 02, 2019 at 08:06:40AM -0700, Christoph Hellwig wrote: > On Mon, Sep 02, 2019 at 04:20:37PM +0200, David Sterba wrote: > > Oh right, I think the reasons are historical and that we can remove the > > options nowadays. From the compatibility POV this should be safe, with > > ACLs compiled out, no tool would use them, and no harm done when the > > code is present but not used. > > > > There were some efforts by embedded guys to make parts of kernel more > > configurable to allow removing subsystems to reduce the final image > > size. In this case I don't think it would make any noticeable > > difference, eg. the size of fs/btrfs/acl.o on release config is 1.6KiB, > > while the whole module is over 1.3MiB. > > Given that the erofs folks have an actual use case for it I think > it is fine to keep the options, I just wanted to ensure this wasn't > copy and pasted for no good reason. Note that for XFS we don't have > an option for xattrs, as those are integral to a lot of file system > features. WE have an ACL option mostly for historic reasons. I fully understand your starting point... Thanks, Gao Xiang