Olga Kornievskaia
0769663b4f
NFSv4.1 fix incorrect return value in copy_file_range
...
According to the NFSv4.2 spec if the input and output file is the
same file, operation should fail with EINVAL. However, linux
copy_file_range() system call has no such restrictions. Therefore,
in such case let's return EOPNOTSUPP and allow VFS to fallback
to doing do_splice_direct(). Also when copy_file_range is called
on an NFSv4.0 or 4.1 mount (ie., a server that doesn't support
COPY functionality), we also need to return EOPNOTSUPP and
fallback to a regular copy.
Fixes xfstest generic/075, generic/091, generic/112, generic/263
for all NFSv4.x versions.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2019-04-11 15:23:48 -04:00
..
2018-12-19 13:52:46 -05:00
2018-09-30 15:35:16 -04:00
2019-03-23 12:03:58 -04:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2018-11-22 13:54:46 -05:00
2019-02-13 11:53:45 -05:00
2018-12-31 11:25:16 -05:00
2018-08-09 12:56:38 -04:00
2019-03-23 12:03:58 -04:00
2019-02-21 14:51:25 -05:00
2019-02-21 14:51:25 -05:00
2019-02-20 17:33:55 -05:00
2019-02-20 15:14:20 -05:00
2018-10-29 16:58:04 -04:00
2017-11-02 11:10:55 +01:00
2018-06-04 12:07:07 -04:00
2019-02-20 17:33:55 -05:00
2018-06-05 16:57:31 -07:00
2018-06-05 16:57:31 -07:00
2018-04-06 14:05:14 +01:00
2016-12-24 11:46:01 -08:00
2019-02-20 15:14:21 -05:00
2019-02-20 17:33:55 -05:00
2019-02-20 15:14:21 -05:00
2017-11-02 11:10:55 +01:00
2017-08-11 14:10:13 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-20 15:14:21 -05:00
2017-11-02 11:10:55 +01:00
2012-07-30 19:06:41 -04:00
2019-02-14 10:13:49 -05:00
2017-11-02 11:10:55 +01:00
2019-02-20 17:33:55 -05:00
2016-12-01 17:46:32 -05:00
2018-12-19 13:52:46 -05:00
2015-02-03 11:06:34 -08:00
2019-02-14 10:13:49 -05:00
2019-01-02 12:05:19 -05:00
2019-02-20 17:33:55 -05:00
2019-04-11 15:23:48 -04:00
2017-11-02 11:10:55 +01:00
2019-02-15 14:12:09 -08:00
2015-04-23 15:16:14 -04:00
2019-02-20 15:14:21 -05:00
2019-03-19 13:17:49 -04:00
2018-12-19 13:52:46 -05:00
2019-02-21 13:22:43 -05:00
2019-03-02 16:25:26 -05:00
2019-02-20 15:14:21 -05:00
2015-04-23 15:16:14 -04:00
2018-01-18 15:10:47 -05:00
2017-11-02 11:10:55 +01:00
2019-02-13 12:03:21 -05:00
2019-04-11 15:23:48 -04:00
2019-03-01 16:20:16 -05:00
2019-04-11 15:23:48 -04:00
2019-03-01 16:20:16 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-13 12:03:21 -05:00
2019-02-13 12:03:21 -05:00
2019-02-20 15:14:21 -05:00
2019-03-01 22:37:38 -05:00
2018-12-19 13:52:46 -05:00
2019-03-12 16:04:51 -04:00
2019-03-01 22:37:38 -05:00
2018-12-19 13:52:46 -05:00
2019-02-20 15:14:20 -05:00
2019-04-11 15:23:48 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-20 15:14:21 -05:00
2019-02-20 15:14:21 -05:00