From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [Lsf-pc] [1/8] readdir-plus system call - LSF/MM follow up Date: Tue, 4 Jun 2013 08:38:48 -0700 Message-ID: <20130604153848.GA26106@infradead.org> References: <516299A5.8030109@panasas.com> <1849331.etDWltRNrI@jlieb-e6410> <6063990.7MGE7UW7Zr@jlieb-e6410> <20130529060609.434ac247@corrin.poochiereds.net> <20130529140456.GA28385@pad.fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Layton , lsf-pc@lists.linux-foundation.org, Zach Brown , Abhijith Das , Dave Chinner , Ganesha NFS List , Steve Dickson , linux-fsdevel , DENIEL Philippe , Boaz Harrosh , Frank S Filz , Jim Lieb , Venkateswararao Jujjuri , Steven Whitehouse To: "J. Bruce Fields" Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:34551 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813Ab3FDPiw (ORCPT ); Tue, 4 Jun 2013 11:38:52 -0400 Content-Disposition: inline In-Reply-To: <20130529140456.GA28385@pad.fieldses.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, May 29, 2013 at 10:04:56AM -0400, J. Bruce Fields wrote: > An odd exception: in the presence of "posix" acls, "ls -l" requests an > acl for every entry, so it can decide whether or not to add a "+" after > the mode (which indicates the presence of a non-trivial acl.) Judging > from http://www.bestbits.at/richacl/example.html, the same is intended > (but not yet implemented) for richacls. > > Maybe if that case were common, there'd be some advantage to ls being > able to do a readdir plus to the nfs client that the nfs client could > translate into a single readdir to the server? > > But I hope it doesn't come to that. Having a xstat flag that a filesystem can set meaning there is no additional security information would be way more efficient for the common case.