Samba and MS Shadow Copy
Jeremy Allison
jra at samba.org
Tue Aug 5 20:47:46 GMT 2003
On Tue, Aug 05, 2003 at 08:02:35AM -0700, Richard Sharpe wrote:
> >
> > > > 2. The VFS routine for "stat" includes a cache for file
> > > stats. Samba
> > > > has a HUGE amount of stat requests going on. This code
> > > will keep the
> > > > stat in cache for one second. A lot of operations (open
> > > with create,
> > > > unlink, etc.) will invalidate the cache. Tests have shown NetBench
> > > > operations get a 70% cache hit. (!)
> > > Interesting... Is this of a general use?
> >
> > Yes. It comes with no warranty, though. :-)
>
> This is very interesting ...
The problem is it may violate guarentees for files existing
etc. accross smbds and external processes. I think that's
why it has no warranty :-).
I want to study it carefully....
Jeremy.
More information about the samba-technical
mailing list