summaryrefslogtreecommitdiff
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-10-21 11:41:13 -0600
committerJens Axboe <axboe@kernel.dk>2022-11-09 11:29:21 -0700
commit5e3e3f2e15df46abcab1959f93f214f778b6ec49 (patch)
tree6db106f3f6769207fca9f405578c1cfa5e93d12e /fs/char_dev.c
parent1567b49d1a4081ba7e1a0ff2dc39bc58c59f2a51 (diff)
block: set FOLL_PCI_P2PDMA in __bio_iov_iter_get_pages()
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 O_DIRECT path in iomap based filesystems and direct to block devices. 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-7-logang@deltatee.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions