KIP, Powerprint Request software -samba
Christopher R. Hertel
crh at ubiqx.mn.org
Fri Aug 13 17:16:46 GMT 2004
Off the top of my head...
Samba has to convert Posix semantics to Microsoft semantics before
returning the Trans2 information. That can take some time. That *may* be
the cause of the problem but I am entirely guessing. Haven't had time to
look at the code.
On Fri, Aug 13, 2004 at 09:13:40AM -0500, Mark Nehemiah wrote:
> On Fri, August 13, 2004 4:43 am, Martin Zielinski said:
> > Samba creates a directory listing for each file request with
> > "dptr_create(...)" to find a match between the file and the directory
> > content.
> > I think, the way to fix this behaviour ist to detect, that the file name
> > is
> > NOT a wildcard but a valid file name. Checking, if we can get an excact
> > match
> > on the pattern, and - if so - skip the directory listing could be the
> > trick.
> I just got done doing a log level 10 myself. I was about to do some
> ethereal captures, and saw your messages. Thanks for the great analysis,
> I really appreciate it, you are more on top of Samba than myself, that's
> for sure. Hopefully someone can get some more insight to this and share.
> > But I'm not deep enaugh in Samba to be really shure about that or even
> > able to
> > test it by hacking Samba :-(
> > BTW: I use reiserfs and this is optimized for large directory listings.
> Did you happen to try this on a reiserfs volume? I've debated myself
> several times about using reiserfs. If I have time I'll test today,
> otherwise, somtime soon.
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical