lkml.org 
[lkml]   [1999]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsmbfs: "rm -rf" dircache problems
I noticed this weekend that "rm -rf" doesn't work very well on SMBFS
because as its dircache gets repopulated, a whole bunch of entries are
skipped which happen to now be below filp->f_pos.

A cursory glance at the NFS and NCPFS file systems seems to show that the
former doesn't have this problem, but NCPFS may.

Has this issue been raised before? Otherwise, thoughts/ideas? I've thought
about "snapshotting" the dircache during the initial readdir(), but it
seems like a waste of memory and there doesn't appear to be any clean way
to know when the user is done using readdir() unless they go all the way
to the last readdir() entry.

thanks,
-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.027 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site