diff options
author | Long Li <longli@microsoft.com> | 2019-04-16 00:49:17 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-05-08 07:24:55 +0300 |
commit | 4739f2328661d070f93f9bcc8afb2a82706c826d (patch) | |
tree | 17b12780ba55f25a866e414fda77d0410b606694 /fs/cifs/transport.c | |
parent | 46e6661963fb5d55952b550f0716bda22e10f1ae (diff) | |
download | linux-4739f2328661d070f93f9bcc8afb2a82706c826d.tar.xz |
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>
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r-- | fs/cifs/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 65d9f3e2eb88..5c59c498f56a 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -319,7 +319,7 @@ __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, __be32 rfc1002_marker; if (cifs_rdma_enabled(server) && server->smbd_conn) { - rc = smbd_send(server, rqst); + rc = smbd_send(server, num_rqst, rqst); goto smbd_done; } |