Hugh Dickins ae97641646 shmem: convert to using splice instead of sendfile()
Remove shmem_file_sendfile and resurrect shmem_readpage, as used by tmpfs
to support loop and sendfile in 2.4 and 2.5.  Now tmpfs can support splice,
loop and sendfile in the simplest way, using generic_file_splice_read and
generic_file_splice_write (with the aid of shmem_prepare_write).

We could make some efficiency tweaks later, if there's a real need;
but this is stable and works well as is.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-10 08:04:15 +02:00
..
2007-03-27 08:52:47 +02:00
2007-05-21 09:18:19 -07:00
2006-12-22 08:55:49 -08:00
2007-05-14 09:55:35 +09:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:54 -07:00
2007-02-15 09:57:03 -08:00
2007-05-21 09:18:19 -07:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:55 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-05-07 12:12:52 -07:00
2007-07-05 15:54:13 -07:00
2007-05-17 05:23:04 -07:00
2007-07-06 11:45:11 -07:00
2007-05-17 05:23:04 -07:00
2007-07-06 10:26:50 -07:00