lkml.org 
[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can an NFS server legitimately duplicate directory entry

Chris Siebenman n writes:

> It appears that a SGI NFS server (Irix 6.2) can sometimes return the
> same directory cookie for two successive entries in the directory
> (if I am tracing the code right, the cookie is stuffed in the dirent
> structure's d_off member by the kernel's getdents(); otherwise, my test
> program is printing something else). This appears to sometimes cause the
> getdents() syscall to enter a state where it always returns the same entry.
>
> Is this legitimate behavior of the SGI NFS server implementation, and
> thus a problem with the Linux NFS client nfs_readdir(), or is this an
> SGI bug that I should club them about?

Can you make that happen if the SGI uses an EFS filesystem?

If not, this is really funny. The Reiserfs hackers have long
wondered how SGI would avoid returning duplicate cookies for XFS.
Gee, perhaps you just discovered the answer: they don't. :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.024 / U:1.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site