Rick Macklem
c5128c48df
VOP_COPY_FILE_RANGE: Add a COPY_FILE_RANGE_TIMEO1SEC flag
...
Although it is not specified in the RFCs, the concept that
the NFSv4 server should reply to an RPC request within a
reasonable time is accepted practice within the NFSv4 community.
Without this patch, the NFSv4.2 server attempts to reply to
a Copy operation within 1second by limiting the copy to
vfs.nfs.maxcopyrange bytes (default 10Mbytes). This is crude at
best, given the large variation in I/O subsystem performance.
This patch adds a kernel only flag COPY_FILE_RANGE_TIMEO1SEC
that the NFSv4.2 can specify, which tells VOP_COPY_FILE_RANGE()
to return after approximately 1 second with a partial result and
implements this in vn_generic_copy_file_range(), used by
vop_stdcopyfilerange().
Modifying the NFSv4.2 server to set this flag will be done in
a separate patch. Also under consideration is exposing the
COPY_FILE_RANGE_TIMEO1SEC to userland for use on the FreeBSD
copy_file_range(2) syscall.
MFC after: 2 weeks
Reviewed by: khng
Differential Revision: https://reviews.freebsd.org/D31829
2021-09-07 17:35:26 -07:00
..
2021-06-22 20:52:06 -06:00
2020-12-17 20:31:17 +00:00
2021-07-28 13:49:16 -06:00
2021-09-07 10:08:51 -06:00
2021-08-12 11:45:25 +03:00
2020-11-08 04:24:29 +00:00
2021-08-30 12:50:53 +01:00
2021-08-12 11:45:25 +03:00
2021-08-05 23:22:02 +08:00
2021-07-23 10:29:57 -04:00
2021-07-09 20:57:58 -04:00
2021-06-07 16:45:50 -04:00
2021-09-03 22:18:51 -04:00
2021-04-14 13:03:33 -04:00
2021-08-28 15:50:44 -04:00
2020-11-23 18:27:21 +00:00
2020-12-03 17:12:31 +00:00
2021-07-18 23:06:19 -05:00
2020-11-19 02:50:48 +00:00
2021-09-07 02:43:34 +03:00
2021-08-30 12:50:53 +01:00
2021-07-29 12:41:29 +03:00
2021-08-12 11:58:17 +03:00
2021-08-10 22:18:26 -04:00
2021-06-01 22:59:21 -05:00
2021-03-22 22:21:53 -04:00
2021-07-29 12:41:29 +03:00
2021-07-23 10:29:53 -04:00
2021-07-29 09:46:25 -04:00
2021-05-23 17:55:27 +00:00
2020-10-28 13:46:11 +00:00
2021-08-10 21:27:54 -04:00
2021-08-18 08:48:27 +02:00
2020-12-26 20:25:02 -08:00
2021-09-02 21:16:46 -04:00
2020-12-04 18:56:44 +00:00
2021-04-18 11:19:15 -06:00
2020-12-26 20:25:02 -08:00
2021-08-11 14:44:22 -03:00
2021-07-15 03:02:50 +03:00
2021-06-02 13:22:57 -06:00
2021-07-29 12:41:29 +03:00
2021-01-11 15:36:57 -08:00
2021-07-29 12:41:29 +03:00
2021-04-12 11:42:21 -03:00
2021-05-23 17:55:27 +00:00
2021-09-07 17:12:09 -04:00
2021-07-20 09:54:09 +03:00
2021-08-11 10:54:56 -05:00
2021-08-16 15:11:15 -04:00
2021-05-23 17:55:27 +00:00
2021-09-05 12:50:15 -07:00
2020-11-08 15:54:59 +00:00
2021-07-22 10:22:48 -06:00
2021-08-08 10:42:24 -04:00
2021-07-29 12:41:29 +03:00
2021-08-10 21:27:53 -04:00
2021-08-31 16:38:05 -04:00
2021-09-02 21:16:46 -04:00
2021-06-20 20:09:47 -07:00
2021-07-29 12:47:39 +03:00
2021-07-29 09:46:25 -04:00
2021-01-13 01:35:22 +02:00
2021-09-01 21:58:16 +01:00
2021-08-08 10:42:24 -04:00
2021-07-29 12:41:29 +03:00
2021-08-02 10:55:28 -04:00
2020-10-28 13:46:11 +00:00
2021-07-29 21:14:36 -04:00
2021-09-05 12:45:29 -07:00
2021-07-13 17:47:27 -04:00
2021-08-10 21:27:54 -04:00
2021-08-02 11:27:17 -05:00
2021-08-08 10:42:24 -04:00
2020-11-05 15:08:56 +00:00
2021-03-22 22:21:53 -04:00
2021-07-29 21:13:32 -04:00
2021-02-18 11:53:14 -04:00
2021-03-02 18:33:45 -07:00
2020-10-26 04:04:06 +00:00
2021-05-23 10:53:25 +02:00
2021-01-27 13:51:26 +00:00
2020-11-29 19:38:03 +00:00
2021-08-08 21:54:49 -04:00
2021-07-08 08:46:41 +02:00
2021-08-11 14:44:22 -03:00
2021-04-21 15:37:24 -06:00
2021-05-23 17:55:27 +00:00
2021-08-04 11:50:34 -07:00
2021-01-08 09:24:49 +02:00
2021-08-11 16:33:41 -04:00
2021-06-16 20:00:14 -06:00
2020-11-09 00:34:23 +00:00
2020-12-03 05:39:27 +00:00
2021-09-03 23:13:42 -04:00
2021-04-02 15:41:51 +03:00
2021-08-08 10:42:24 -04:00
2021-07-05 16:15:03 +01:00
2020-09-28 17:19:57 +00:00
2021-04-14 10:23:20 +03:00
2021-05-25 16:59:18 -07:00
2021-06-25 14:12:21 -04:00
2021-07-28 22:00:29 -04:00
2021-04-02 13:17:53 +11:00
2021-07-16 18:06:44 +01:00
2021-09-02 21:16:46 -04:00
2021-08-08 10:42:24 -04:00
2021-09-07 02:43:34 +03:00
2021-02-18 14:02:48 +00:00
2021-09-02 18:28:45 +00:00
2021-08-18 08:51:26 +02:00
2021-07-20 10:05:50 +03:00
2021-08-05 23:20:42 +08:00
2021-08-16 17:08:44 +03:00
2020-11-09 00:05:21 +00:00
2021-08-30 12:50:53 +01:00
2021-04-23 09:22:49 -04:00
2021-08-05 23:22:02 +08:00
2021-09-01 21:58:22 +01:00
2021-08-05 23:22:02 +08:00
2021-02-21 10:55:44 -08:00
2021-02-21 10:55:44 -08:00
2021-02-21 10:55:44 -08:00
2021-04-18 11:14:17 -06:00
2021-09-03 22:18:51 -04:00
2021-06-14 17:32:27 -04:00
2021-08-18 12:46:54 -05:00
2021-09-07 15:06:48 -04:00
2021-07-26 14:09:16 -07:00
2020-10-22 09:17:56 +00:00
2021-02-21 10:55:44 -08:00
2021-01-12 13:16:10 +00:00
2021-08-26 00:03:37 +08:00
2021-09-07 15:06:48 -04:00
2021-09-07 17:12:09 -04:00
2021-09-07 17:12:09 -04:00
2021-09-07 17:11:43 -04:00
2021-08-22 23:00:42 +12:00
2021-08-10 21:27:53 -04:00
2021-08-23 15:31:44 +02:00
2021-09-02 21:36:33 +03:00
2021-08-27 18:25:44 -07:00
2021-08-27 18:39:45 +03:00
2021-05-30 14:53:47 -07:00
2021-08-23 15:23:42 +02:00
2021-08-26 20:52:03 +02:00
2021-07-23 12:04:02 -04:00
2021-07-24 12:52:32 -07:00
2021-08-14 00:17:18 +03:00
2021-09-07 17:35:26 -07:00
2021-08-12 23:03:49 +08:00