s3: Optimize the write cache for sequential writes
authorVolker Lendecke <vl@samba.org>
Wed, 7 Jul 2010 19:50:23 +0000 (21:50 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 9 Jul 2010 06:50:41 +0000 (08:50 +0200)
commit1c0cb365a895ce670fc32db3380cee7f129ce95b
treea31b81669a5fcc04146be8bc0855213c5db78401
parent6a0d3665e2a2cd9cbae4096c82418f9b0406161f
s3: Optimize the write cache for sequential writes

In case of the one-byte allocating writes we don't work work optimally because
we start the write cache at the current offset. This patch tries to avoid this
case.
source3/smbd/fileio.c