]> 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 <smfrench@gmail.com>
Tue, 11 Sep 2012 03:14:15 +0000 (22:14 -0500)
commit659dd6848dca83e94eb7516dce44bf8592422e46
tree760006a841637d83e551e1b858987e34433d66bf
parent1f1da5532e34ece356ae7fdfb95f22cff932e08f
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