]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Add SMB2 credits support
authorPavel Shilovsky <pshilovsky@samba.org>
Wed, 23 May 2012 12:18:00 +0000 (16:18 +0400)
committerSteve French <smfrench@gmail.com>
Tue, 24 Jul 2012 15:25:23 +0000 (10:25 -0500)
commit944c4d7c45e3bbee2e32a9f618b84edc60536979
tree25f091cdd90fa160d0a10ce2798c7960bdfd051c
parent2d97b009e9eaa4cd4877c8ecadb8013a148dba8b
CIFS: Add SMB2 credits support

For SMB2 protocol we can add more than one credit for one received
request: it depends on CreditRequest field in SMB2 response header.
Also we divide all requests by type: echoes, oplocks and others.
Each type uses its own slot pull.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/smb2ops.c