]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: teach smb_send_rqst how to handle arrays of pages
authorJeff Layton <jlayton@redhat.com>
Mon, 6 Aug 2012 11:10:48 +0000 (07:10 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:44:09 +0000 (09:44 -0500)
commit1864b6dfc686b45ea7484066aae62c2fdde4f664
treed70f85e6f0fc7737e2b1c054b40d33413f0b6920
parentdcab9ce6b9e5e3f77a432d2edd70e97ecfa46547
cifs: teach smb_send_rqst how to handle arrays of pages

Add code that allows smb_send_rqst to send an array of pages after the
initial kvec array has been sent. For now, we simply kmap the page
array and send it using the standard smb_send_kvec function. Eventually,
we may want to convert this code to use kernel_sendpage under the hood
and avoid the kmap altogether for the page data.

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