• David Howells's avatar
    iov_iter: Kunit tests for page extraction · a3c57ab7
    David Howells authored
    Add some kunit tests for page extraction for ITER_BVEC, ITER_KVEC and
    ITER_XARRAY type iterators.  ITER_UBUF and ITER_IOVEC aren't dealt with
    as they require userspace VM interaction.  ITER_DISCARD isn't dealt with
    either as that can't be extracted.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Christian Brauner <brauner@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: John Hubbard <jhubbard@nvidia.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    a3c57ab7
kunit_iov_iter.c 18.7 KB