lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smbfs: "rm -rf" dircache problems
On Fri, 12 Nov 1999, Urban Widmark wrote:
> > > A cursory glance at the NFS and NCPFS file systems seems to show that the
> > > former doesn't have this problem, but NCPFS may.
>
> How does nfs do this?

I don't know exactly, I've only briefly glanced at the code which hints
at some kind of a "cookie" mechanism.

Until I (or someone else) can think up with a better solution, I've
bypassed the dircache code in my kernel; hooking readdir() directly into
SMB's FINDFIRST/FINDNEXT mechanism. A little bit slower, but safe.

-mike



-
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:54    [W:0.051 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site