diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-12-03 18:37:24 -0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2019-12-09 00:09:32 +0800 |
commit | 568920df38f4d050dbf44cdd0b33ae4b6a969dd6 (patch) | |
tree | e91beb98c277401437ffe11c8c1274aa1d155adc /.gitignore | |
parent | 8c9705b7987ec55ddad43fd314fc032be4642b59 (diff) |
generic: test splice() with pipes
Andreas Grünbacher reports that on the two filesystems that support
iomap directio, it's possible for splice() to return -EAGAIN (instead of
a short splice) if the pipe being written to has less space available in
its pipe buffers than the length supplied by the calling process.
This is a regression test to check for correct operation. Kernel
needs commit 3253d9d09337 ("splice: only read in as much information
as there is pipe buffer space") to pass.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -113,6 +113,7 @@ /src/runas /src/seek_copy_test /src/seek_sanity_test +/src/splice-test /src/stale_handle /src/stat_test /src/swapon |