2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2017 Red Hat, Inc. All Rights Reserved.
7 # Takes page fault while writev is iterating over the vectors in the IOV
10 _begin_fstest auto quick rw
12 # Import common functions.
15 # real QA test starts here
18 _require_test_program "writev_on_pagefault"
20 # This program use several vectors for writev(), the kernel goes over them
21 # one at a time, copying them from userspace, getting the user data ready
22 # for IO. If it takes a page fault while iterating over the vectors in the
23 # IOV, it stops, and sends what it got so far. We try to find a bug at this
25 $here/src/writev_on_pagefault $TEST_DIR/testfile.$seq