Head stability [Was Re: [Fwd: Re: [PATCH] Fix Name mangling
idra at samba.org
Wed Mar 27 04:45:01 GMT 2002
On Wed, 2002-03-27 at 12:31, Kevin (HxPro) Wheatley wrote:
> Simo Sorce wrote:
> > I'm thinking to move all the mangling stuff in vfs once we have
> > stackable modules and SAMBA_3_0 is branched off.
> > vfs is really the place where to put that code, so that it can be
> > removed if a mangling-compatible filesystem is used, or someone else
> > have better ideas in how to implement mangling.
> If anybody is interested in some pathalogical cases, the Post Production
> industry has this thing with files numbered sequentially usually with
> 4-5 digits with some more extreme cases of 7 digits, add to this a
> descriptor like a show/scene/shot name of a few characters (plus
> extension sometimes more than 3 chars) all in a single directory...
> repeated across lots of similarily named directories. I'd be interested
> to know how that would be handled...
Not very well for large numbers, in that cases if a mangle-aware fs is
not available I think the only solution is to have a tdb backend to
store mangled-unmnaged pairs so that we will be able to avoid
collisions, it will be certainly slower, but in such case coherency is
> Certainly being able to plug in different hashing functions is going to
> be a good thing for these situations, probably on a per share basis.
yes, it will be a per share option! (in my mind for now :)
/Simo - studing ahsh alghorithms theory ...
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.
More information about the samba-technical