Adrian Chadd
3287361e38
Refactor out the sendfile copyout in order to make vn_sendfile()
...
callable from the kernel.
Right now vn_sendfile() can't be called from anything other than
a syscall handler _and_ return the number of bytes queued.
This simply moves the copyout() to do_sendfile() so that any kernel
code can initiate vn_sendfile() outside of a syscall context.
Tested:
* tiny little sendfile program spitting things out a tcp socket
Sponsored by: Netflix, Inc.
2013-11-26 02:02:05 +00:00
..
2013-11-25 19:04:51 +00:00
2013-11-25 11:02:58 +00:00
2013-11-25 11:02:11 +00:00
2013-09-05 00:09:56 +00:00
2013-11-25 07:38:45 +00:00
2013-11-25 21:17:14 +00:00
2013-11-25 07:38:45 +00:00
2013-11-25 07:38:45 +00:00
2013-11-08 16:28:00 +00:00
2013-11-23 00:28:18 +00:00
2013-11-26 01:30:10 +00:00
2013-11-25 07:38:45 +00:00
2013-07-24 09:45:31 +00:00
2013-11-21 22:02:59 +00:00
2013-11-25 07:38:45 +00:00
2013-11-10 04:22:40 +00:00
2013-11-26 02:02:05 +00:00
2013-07-09 01:05:28 +00:00
2013-09-29 15:19:34 +00:00
2013-11-25 07:38:45 +00:00
2013-11-25 19:04:51 +00:00
2013-11-25 20:33:33 +00:00
2013-11-09 07:30:13 +00:00
2013-10-26 17:58:36 +00:00
2013-11-08 22:40:33 +00:00
2013-11-25 22:55:06 +00:00
2013-11-25 07:38:45 +00:00
2013-11-11 13:19:55 +00:00
2013-10-26 17:58:36 +00:00
2013-10-26 18:18:50 +00:00
2013-11-25 20:20:34 +00:00
2013-11-08 08:44:09 +00:00
2013-10-26 17:58:36 +00:00
2013-11-25 07:38:45 +00:00
2013-10-26 17:58:36 +00:00
2013-09-06 23:14:31 +00:00
2013-11-17 20:58:31 +00:00
2013-11-25 07:38:45 +00:00
2013-11-25 07:38:45 +00:00
2013-10-29 05:37:05 +00:00
2013-11-25 07:38:45 +00:00
2013-11-25 19:08:38 +00:00
2013-11-25 07:38:45 +00:00
2013-11-08 16:25:00 +00:00
2013-11-25 07:38:45 +00:00
2013-11-25 07:38:45 +00:00
2013-11-20 21:21:29 +00:00
2013-11-23 13:42:56 +00:00
2013-11-25 07:38:45 +00:00
2013-10-18 17:06:13 +00:00