The Samba-Bugzilla – Attachment 10219 Details for
Bug 10778
libsmbclient with SMB2 doesn't pipeline or use large blocks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.1.next and 4.0.next.
0001-s3-libsmb-Set-a-max-charge-for-SMB2-connections.patch (text/plain), 1.25 KB, created by
Jeremy Allison
on 2014-08-22 19:20:45 UTC
(
hide
)
Description:
git-am fix for 4.1.next and 4.0.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2014-08-22 19:20:45 UTC
Size:
1.25 KB
patch
obsolete
>From 52063e90dd59492551c12df81ab8f68973f78cd7 Mon Sep 17 00:00:00 2001 >From: Ross Lagerwall <rosslagerwall@gmail.com> >Date: Thu, 21 Aug 2014 07:32:36 +0100 >Subject: [PATCH] s3:libsmb: Set a max charge for SMB2 connections > >Set a max charge for SMB2 connections so that larger request sizes can >be used and more requests can be in flight. > >Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com> >Reviewed-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> > >Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> >Autobuild-Date(master): Thu Aug 21 17:31:11 CEST 2014 on sn-devel-104 >--- > source3/libsmb/libsmb_server.c | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c >index 3b7214c..d89b9ec 100644 >--- a/source3/libsmb/libsmb_server.c >+++ b/source3/libsmb/libsmb_server.c >@@ -459,6 +459,11 @@ SMBC_server_internal(TALLOC_CTX *ctx, > return NULL; > } > >+ if (smbXcli_conn_protocol(c->conn) >= PROTOCOL_SMB2_02) { >+ /* Ensure we ask for some initial credits. */ >+ smb2cli_conn_set_max_credits(c->conn, DEFAULT_SMB2_MAX_CREDITS); >+ } >+ > username_used = *pp_username; > > if (!NT_STATUS_IS_OK(cli_session_setup(c, username_used, >-- >2.1.0.rc2.206.gedb03e5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 10778
:
10217
| 10219