diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2022-10-21 11:41:14 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-09 11:29:21 -0700 |
commit | 7ee4ccf57484d260c37b29f9a48b65c4101403e8 (patch) | |
tree | eb0e528d232f461d2521e0e1c17b265677751d47 /.gitignore | |
parent | 5e3e3f2e15df46abcab1959f93f214f778b6ec49 (diff) |
block: set FOLL_PCI_P2PDMA in bio_map_user_iov()
When a bio's queue supports PCI P2PDMA, set FOLL_PCI_P2PDMA for
iov_iter_get_pages_flags(). This allows PCI P2PDMA pages to be
passed from userspace and enables the NVMe passthru requests to
use P2PDMA pages.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20221021174116.7200-8-logang@deltatee.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions