]> git.ipfire.org Git - people/ms/linux.git/commit - fs/cifs/transport.c
CIFS: Introduce credit-based flow control
authorPavel Shilovsky <piastry@etersoft.ru>
Mon, 6 Feb 2012 11:59:18 +0000 (15:59 +0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 21 Mar 2012 16:35:03 +0000 (11:35 -0500)
commit2d86dbc97094ea4cfc2204fdefd7d07685496189
tree9aee614e155fd837c78ded2cd083dead1a9d4a3f
parentfc40f9cf828908e91d9af820e9300a9d42fbbd72
CIFS: Introduce credit-based flow control

and send no more than credits value requests at once. For SMB/CIFS
it's trivial: increment this value by receiving any message and
decrement by sending one.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/connect.c
fs/cifs/misc.c
fs/cifs/transport.c