Jens Axboe
51a92c0f6c
splice: fix offset mangling with direct splicing (sendfile)
...
If the output actor doesn't transfer the full amount of data, we will
increment ppos too much. Two related bugs in there:
- We need to break out and return actor() retval if it is shorted than
what we spliced into the pipe.
- Adjust ppos only according to actor() return.
Also fix loop problem in generic_file_splice_read(), it should not keep
going when data has already been transferred.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-13 14:14:31 +02:00
..
2007-05-21 09:18:19 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:36 -07:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:51 -07:00
2007-07-11 16:09:00 -07:00
2007-05-08 11:14:59 -07:00
2007-07-09 08:24:13 +01:00
2007-07-11 16:09:06 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:04:15 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-08 11:14:59 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 13:56:13 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-06-16 13:16:16 -07:00
2007-05-17 05:23:04 -07:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:58:16 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-14 19:33:46 -04:00
2007-07-10 08:04:13 +02:00
2007-05-21 09:18:19 -07:00
2007-07-10 08:04:14 +02:00
2007-07-10 08:04:15 +02:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:06 -07:00
2007-05-17 05:23:04 -07:00
2007-07-11 16:09:06 -07:00
2007-07-09 18:52:00 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:09 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-11 08:29:37 -07:00
2007-05-11 08:29:36 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:07 -07:00
2007-07-06 10:23:43 -07:00
2007-05-08 11:15:07 -07:00
2007-06-08 17:23:32 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:03:34 +02:00
2007-07-10 08:04:13 +02:00
2007-05-21 09:15:32 -07:00
2007-05-25 17:37:46 -07:00
2007-05-23 20:14:12 -07:00
2007-05-08 11:15:07 -07:00
2007-07-03 18:23:23 -07:00
2007-05-17 05:23:05 -07:00
2007-05-18 13:09:34 -07:00
2007-05-15 08:54:00 -07:00
2007-05-23 20:14:13 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:09 -07:00
2007-06-04 13:25:10 -07:00
2007-05-09 08:58:15 +02:00
2007-05-21 14:34:00 +09:00
2007-05-09 06:44:57 +02:00
2007-05-17 05:23:04 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:35 -07:00
2007-05-11 05:38:26 -04:00
2007-05-08 11:15:12 -07:00
2007-05-08 20:10:00 -07:00
2007-07-10 08:04:16 +02:00
2007-05-08 11:15:11 -07:00
2007-05-17 05:23:05 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:09 -07:00
2007-05-09 07:10:02 +02:00
2007-07-10 17:51:13 -07:00
2007-06-28 11:34:54 -07:00
2007-07-13 14:14:31 +02:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-06-28 11:38:30 -07:00
2007-05-18 13:09:34 -07:00
2007-07-08 12:02:55 -07:00
2007-05-11 05:38:26 -04:00