[Samba] smb2 max credits did not work as expected

jie wang yjxxtd12 at gmail.com
Wed Mar 8 03:14:07 UTC 2023


Thanks the reply, but it does not work in our case, even with patch:
https://attachments.samba.org/attachment.cgi?id=17683, and smb2 max
credits = 512.

On Tue, Mar 7, 2023 at 9:14 PM Ralph Boehme <slow at samba.org> wrote:
>
> On 3/7/23 13:12, jie wang via samba wrote:
> > Hi, all,
> >    I set smb2 max credits = 70 in smb.conf, but I find more than 200
> > read requests
> > were sent to server in 3 seconds, and has no response during this
> > period. Each read request's
> > read len is 2MB, and they share the same "credit charge: 32".
> >    I want to restrict the read request number outstanding at the same
> > time, i.e. client only send read request max to {max credits} before
> > receive read response. how can I achieve this?  Thanks a lot.
> >
>
> https://bugzilla.samba.org/show_bug.cgi?id=15261#c1
>
> -slow
>
> --
> Ralph Boehme, Samba Team                 https://samba.org/
> SerNet Samba Team Lead      https://sernet.de/en/team-samba
> SAMBA+ Samba packages                   https://samba.plus/
>



More information about the samba mailing list