From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Latchesar Ionkov" Subject: Re: Re: readdirplus() as possible POSIX I/O API Date: Tue, 5 Dec 2006 18:06:13 +0100 Message-ID: References: <20061129082622.GA20285@cynthia.pants.nu> <1164950795.5761.25.camel@lade.trondhjem.org> <1164984094.5761.86.camel@lade.trondhjem.org> <20061203015203.GA5656@schatzie.adilger.int> <20061204073200.GB5637@schatzie.adilger.int> <1165245336.711.176.camel@lade.trondhjem.org> <20061205102644.GH5937@schatzie.adilger.int> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from nf-out-0910.google.com ([64.233.182.188]:9511 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968464AbWLERGR (ORCPT ); Tue, 5 Dec 2006 12:06:17 -0500 Received: by nf-out-0910.google.com with SMTP id o25so279225nfa for ; Tue, 05 Dec 2006 09:06:13 -0800 (PST) To: "Trond Myklebust" , "Sage Weil" , "Christoph Hellwig" , "Brad Boyer" , "Anton Altaparmakov" , "Gary Grider" , linux-fsdevel@vger.kernel.org In-Reply-To: <20061205102644.GH5937@schatzie.adilger.int> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 12/5/06, Andreas Dilger wrote: > The primary goal (IMHO) of this syscall is to allow the filesystem > (primarily distributed cluster filesystems, but HFS and NTFS developers > seem on board with this too) to avoid tens to thousands of stat RPCs in > very common ls -R, find, etc. kind of operations. I don't think that ls -R and find are that common cases that they need introduction of new operations in order to made them faster. On the other hand may be they are often being used to do microbenchmarks. If you goal is to make these filesystems look faster on microbenchmarks, then probably you have the right solution. For normal use, especially on clusters, I don't see any advantage of doing that. Thanks, Lucho