The Samba-Bugzilla – Attachment 10217 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]
patch for the bug
0001-s3-libsmb-Set-a-max-charge-for-SMB2-connections.patch (text/plain), 1.01 KB, created by
Ross Lagerwall
on 2014-08-22 16:30:01 UTC
(
hide
)
Description:
patch for the bug
Filename:
MIME Type:
Creator:
Ross Lagerwall
Created:
2014-08-22 16:30:01 UTC
Size:
1.01 KB
patch
obsolete
>From 77925956f0a9e2237277954f6688de3d81f724d6 Mon Sep 17 00:00:00 2001 >From: Ross Lagerwall <rosslagerwall@gmail.com> >Date: Fri, 8 Aug 2014 07:06:29 +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> >--- > 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.0.3 >
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
Actions:
View
Attachments on
bug 10778
:
10217
|
10219