cifs: DIO to/from KVEC-type iterators should now work
authorDavid Howells <dhowells@redhat.com>
Mon, 16 Jan 2023 14:19:29 +0000 (14:19 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 21 Feb 2023 00:36:02 +0000 (18:36 -0600)
commite7388b8a1a5bdf47a9a46803a5686387c1ce060d
tree4c2ef76d38bbf7d0a37cf898393fb4b7b702b7b8
parent607aea3cc2a8f46d24c78eb4efcc511af1c2f74d
cifs: DIO to/from KVEC-type iterators should now work

DIO to/from KVEC-type iterators should now work as the iterator is passed
down to the socket in non-RDMA/non-crypto mode and in RDMA or crypto mode
care is taken to handle vmap/vmalloc correctly and not take page refs when
building a scatterlist.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Tom Talpey <tom@talpey.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/file.c