[Samba] Re: Performance issues after samba update (utime?)

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Feb 27 19:07:59 GMT 2008


On Wed, Feb 27, 2008 at 07:43:42PM +0100, Alex Still wrote:
> I think I found it.
> Samba-3.0.28 calls set_filetime() from real_write_file(), which 3.0.8 isn't
> doing.
> set_filetime -> utimes -> nfs SETATTR (in my case)
> After removing that bit from real_write_file, I get exactly the same
> performance I had before. Now, I realise this has probably been put there
> for a reason...
> 
> Stuck now, any advice on the matter appreciated

It was put there to properly support the so-called sticky
write time feature that for example Excel depends upon.
Stefan Metzmacher has written a patch that needs to be
merged that avoids those utime calls by putting the relevant
data into locking.tdb. We need to take some time to shape up
that patch a bit and merge upstream though.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20080227/432a88c3/attachment.bin


More information about the samba mailing list