The goal of this patchset is to reorganize existing CIFS code to make it easily expandable when SMB2 specific code come into the tree. This let us avoid a code dublication and reduce the whole number of changes coming with SMB2 code. This should be applied on top of "Respect negotiated MaxMpxCount" patch that goes alone. Pavel Shilovsky (10): CIFS: Simplify inFlight logic CIFS: Introduce credit-based flow control CIFS: Make wait_for_free_request killable CIFS: Prepare credits code for a slot reservation CIFS: Delete echo_retries module parm CIFS: Separate protocol-specific code from transport routines CIFS: Separate protocol-specific code from demultiplex code CIFS: Separate protocol-specific code from cifs_readv_receive code CIFS: Expand CurrentMid field CIFS: Change mid_q_entry structure fields fs/cifs/README | 6 +- fs/cifs/cifs_debug.c | 28 +++--- fs/cifs/cifs_debug.h | 4 +- fs/cifs/cifsfs.c | 5 - fs/cifs/cifsglob.h | 69 ++++++++++-- fs/cifs/cifsproto.h | 14 ++- fs/cifs/cifssmb.c | 104 ++++++++++-------- fs/cifs/connect.c | 126 +++++++++++---------- fs/cifs/misc.c | 117 ++++++++++++------- fs/cifs/netmisc.c | 3 +- fs/cifs/transport.c | 305 ++++++++++++++++++++++++++++---------------------- 11 files changed, 451 insertions(+), 330 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html