[Samba] Re: Performance issues after samba update (utime?)
hlewis at panasas.com
Wed Feb 27 20:37:43 GMT 2008
Are we planning on getting this into 3.0.28a? 30% is a big hit
Volker Lendecke wrote:
> 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
>>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.
More information about the samba