lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: stat benchmark
On Thu, Apr 24, 2008 at 1:59 PM, Soeren Sandmann <sandmann@daimi.au.dk> wrote:
> So I am looking for ways to improve this.

Aside from what has already been proposed there is also the
readdirplus() route. Unfortunately the people behind this and related
proposals vanished after the last discussions. I was hoping they
come back with a revised proposal but perhaps not. Maybe it's time to
pick up the ball myself.

As a reminder, readdirplus() is an extended readdir() which also
returns (a subset of) the stat information for the file at the same
time. The subset part is needed to account for the different
information contained in the inodes. For most applications the subset
should be sufficient and therefore all that's needed is a single
iteration over the directory.


\
 
 \ /
  Last update: 2008-04-28 06:45    [W:0.110 / U:0.048 seconds]
©2003-2014 Jasper Spaans. Advertise on this site