diff options
author | Ming Lei <ming.lei@redhat.com> | 2024-10-24 07:00:15 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-29 09:14:28 -0600 |
commit | e4e535bff2bc82bb49a633775f9834beeaa527db (patch) | |
tree | c613c80066f70a4af04c00bc5be33ac981b7102d /lib/hashtable_test.c | |
parent | f1be1788a32e8fa63416ad4518bbd1a85a825c9d (diff) |
iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages
The iov_iter_extract_pages interface allows to return physically
discontiguous pages, as long as all but the first and last page
in the array are page aligned and page size. Rewrite
iov_iter_extract_bvec_pages to take advantage of that instead of only
returning ranges of physically contiguous pages.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
[hch: minor cleanups, new commit log]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241024050021.627350-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/hashtable_test.c')
0 files changed, 0 insertions, 0 deletions