From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id BA0D57F52 for ; Wed, 11 Nov 2015 01:57:21 -0600 (CST) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay3.corp.sgi.com (Postfix) with ESMTP id 4537FAC005 for ; Tue, 10 Nov 2015 23:57:21 -0800 (PST) Received: from bombadil.infradead.org ([198.137.202.9]) by cuda.sgi.com with ESMTP id ImsxWAXcUrpjTCPw (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 10 Nov 2015 23:57:19 -0800 (PST) Date: Tue, 10 Nov 2015 23:57:07 -0800 From: Christoph Hellwig Subject: Re: [PATCH v15 00/22] Richacls (Core and Ext4) Message-ID: <20151111075707.GA23752@infradead.org> References: <1447067343-31479-1-git-send-email-agruenba@redhat.com> <20151110112943.GA17038@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Andreas Gruenbacher Cc: "J. Bruce Fields" , Linux NFS Mailing List , Theodore Ts'o , linux-cifs@vger.kernel.org, Linux API , Trond Myklebust , LKML , XFS Developers , Christoph Hellwig , Andreas Dilger , Alexander Viro , linux-fsdevel , Jeff Layton , linux-ext4 , Anna Schumaker On Tue, Nov 10, 2015 at 01:39:52PM +0100, Andreas Gruenbacher wrote: > > It still has the same crappy fs interfaces with lots of boilerplate > > code > > Could you please be more specific so that I can trace this complaint > to some actual code? if (IS_RICHACL()) richacl_foo() else posix_acl_foo() for every call from the filesystem is the major one that came to mind. > > and still abuses xattrs instead of a proper syscall interface. > > That's far from being ready to merge. > > The xattr syscall interface is what's used for very similar kinds of > things today; using it for richacls as well sure does not count as > abuse. Things could be improved in the xattr interface and in its > implementation, but we need more substantial reasons than that for > reimplementing the wheel once again. And it's a horrible interface. Look at all the pain for example in XFS which has a different ACL format, or in fact everyone who just uses a different xattr name or even none at all. And all the mess of people trying to shoe horn crazy interfaces into xattrs. It was an experiment worth trying with Posix ACLs, but it failed, so do not repeat it. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs