[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Jul 21 14:33:30 MDT 2010


On Mon, Jul 19, 2010 at 03:07:04PM -0500, Volker Lendecke wrote:
> The branch, master has been updated
>        via  6763730... s3: Avoid pwrite calls for the 1-byte writes with zero content
>       from  944494d... s3-auth: Remove unused variable.
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
> 
> 
> - Log -----------------------------------------------------------------
> commit 6763730304627a58139450fd3e03a0ce48e31bb9
> Author: Volker Lendecke <vl at samba.org>
> Date:   Mon Jul 19 16:15:01 2010 +0200
> 
>     s3: Avoid pwrite calls for the 1-byte writes with zero content
>     
>     When a write cache is empty and we write one 0, there is no point in actually
>     writing into the write cache, which would trigger a potentially superfluous
>     write cache flush. We can rely on posix semantics to give us 0's when
>     subsequent read calls want to read from file areas not written yet.
>     
>     Jeremy, please check!

Checked :-). Looks a good optimization - thanks !

Jeremy.


More information about the samba-technical mailing list