From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: NFSv4/pNFS possible POSIX I/O API standards Date: Sun, 17 Dec 2006 12:38:21 -0700 Message-ID: <20061217193821.GA21070@parisc-linux.org> References: <20061205220538.GA1988@infradead.org> <45760702.6040805@redhat.com> <20061206100614.GX5937@schatzie.adilger.int> <4576FBB0.2070704@redhat.com> <4576FD78.4040603@mcs.anl.gov> <4577011F.6040107@redhat.com> <20061206180124.GM17226@vestdata.no> <45770850.4030003@redhat.com> <20061217144130.GN25199@vestdata.no> <4585956F.80404@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ragnar Kj??rstad , Rob Ross , Christoph Hellwig , Trond Myklebust , Sage Weil , Brad Boyer , Anton Altaparmakov , Gary Grider , linux-fsdevel@vger.kernel.org Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:40077 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbWLQTiX (ORCPT ); Sun, 17 Dec 2006 14:38:23 -0500 To: Ulrich Drepper Content-Disposition: inline In-Reply-To: <4585956F.80404@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, Dec 17, 2006 at 11:07:27AM -0800, Ulrich Drepper wrote: > And how often do the scripts which are in everyday use require such a > command? And the same for the other programs. I know that the rsync load is a major factor on kernel.org right now. With all the git trees (particularly the ones that people haven't packed recently), there's a lot of files in a lot of directories. If readdirplus would help this situation, it would definitely have a real world benefit. Obviously, I haven't done any measurements or attempted to quantify what the improvement would be. For those not familiar with a git repo, it has an 'objects' directory with 256 directories named 00 to ff. Each of those directories can contain many files (with names like '8cd5bbfb4763322837cd1f7c621f02ebe22fef') Once a file is written, it is never modified, so all rsync needs to do is be able to compare the timestamps and sizes and notice they haven't changed.