cifs: smbd: take an array of reqeusts when sending upper layer data
authorLong Li <longli@microsoft.com>
Mon, 15 Apr 2019 21:49:17 +0000 (14:49 -0700)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:55 +0000 (23:24 -0500)
commit4739f2328661d070f93f9bcc8afb2a82706c826d
tree17b12780ba55f25a866e414fda77d0410b606694
parent46e6661963fb5d55952b550f0716bda22e10f1ae
cifs: smbd: take an array of reqeusts when sending upper layer data

To support compounding, __smb_send_rqst() now sends an array of requests to
the transport layer.
Change smbd_send() to take an array of requests, and send them in as few
packets as possible.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smbdirect.c
fs/cifs/smbdirect.h
fs/cifs/transport.c