lkml.org 
[lkml]   [2007]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] sendfile removal
    On Thu, May 31, 2007 at 06:06:19PM +0100, Hugh Dickins wrote:
    > Christoph already picked up on that, and it's of interest to shmem too:
    > loop over tmpfs in 2.6 was relying on shmem_file_sendfile, for which
    > the generic route is not good enough.
    >
    > If we're giving a .splice_read to everything which used to have a
    > .sendfile, then I think you just need to make do_lo_read() use
    > ->splice_read now?

    I'd be perfectly happy with killing support for using ->read. Any
    simple filesystem can use the generic methods, and any more complex
    filesystem should better have splice aswell. Btw, someone should
    look into using splice for the loop write path aswell, the current
    useage of ->prepare_write and ->commit_write has similar locking
    problems aswell.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-05-31 19:35    [W:2.029 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site