]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nvme-tcp: pass multipage bvec to request iov_iter
authorSagi Grimberg <sagi@grimberg.me>
Thu, 14 Jan 2021 21:15:26 +0000 (13:15 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 09:26:11 +0000 (10:26 +0100)
commit0dc9edaf80ea3c48231d94cd482355699d453888
treebdb92c34a0ea01858327ab74be5c7b8da4dc6100
parent60141aa08c08a43f3d22626b3a2532106a90a191
nvme-tcp: pass multipage bvec to request iov_iter

iov_iter uses the right helpers so we should be able
to pass in a multipage bvec. Right now the iov_iter is
initialized with more segments that it needs which doesn't
fail because the iov_iter is capped by byte count, but it
is better to use a full multipage bvec iter.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c