Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev
authorVolker Lendecke <vl@samba.org>
Mon, 22 Dec 2008 21:32:12 +0000 (22:32 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 29 Dec 2008 12:24:28 +0000 (13:24 +0100)
commite4d28dbc040e186f453d77c7c1fb628a6cc2e3d4
treef33ea8ab88afc8558af658edff9805721a1d2f1c
parentafd70855b77aee4500b7d505419c750b6b2df38b
Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev

It seems there are SMB servers around which can't cope with the write header
being sent in a packet of its own. With writev we keep the advantage of direct
writes, giving the kernel the chance to coalesce the write calls.
source3/libsmb/clientgen.c