CIFS: Extend credit mechanism to process request type
authorPavel Shilovsky <pshilovsky@samba.org>
Wed, 23 May 2012 12:14:34 +0000 (16:14 +0400)
committerSteve French <smfrench@gmail.com>
Tue, 24 Jul 2012 05:32:48 +0000 (00:32 -0500)
commita891f0f895f4a760fdb99636fab05e60597b8224
tree0f911230af82d5b8cbbbbbb423b032ae8f5dc957
parent316cf94a910f6f93d43cc574359d163ccae098a3
CIFS: Extend credit mechanism to process request type

Split all requests to echos, oplocks and others - each group uses
its own credit slot. This is indicated by new flags

CIFS_ECHO_OP and CIFS_OBREAK_OP

that are not used now for CIFS. This change is required to support
SMB2 protocol because of different processing of these commands.

Acked-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/cifssmb.c
fs/cifs/smb1ops.c
fs/cifs/transport.c