What was/is the purpose of the getwd cache?

Jeremy Allison jra at samba.org
Wed Jun 13 10:10:21 MDT 2012


On Wed, Jun 13, 2012 at 01:58:34PM +0200, Volker Lendecke wrote:
> 
> Thinking about a more radical change (that would definitely
> fuel the parallel OEM discussion): The s4 file server works
> with absolute path names, s3 does a chdir to the share root
> for every smb request. This is a pretty deep assumption that
> from my point of view is broken. If we look for a point to
> change that (it affects the VFS), 4.0 would be it. If we got
> rid of relative path names, getwd would be simple: Always
> return /. No caching required.

I'm ok with this conceptually, but it requires a lot of code change.

If it gets done, that's great, but I don't think it's a 4.0.0
blocker.

Jeremy.


More information about the samba-technical mailing list