[lkml]   [2002]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: NFS mountned directory and apache2 (2.5.47)
    On Fri, Nov 15, 2002 at 09:53:03PM +0100, Trond Myklebust wrote:
    > > Linus removed that in early 2.5 because it led to kmap()
    > > deadlocks. sendfile can fail with EINVAL and userspace must
    > > not rely on it working on any object.
    > Fair enough. The kernel may not be the appropriate place for providing
    > such an emulation, but there's no reason why glibc shouldn't be able
    > to do so for the case where sendfile returns EINVAL.


    > However none of this changes the matter of the NFS client. The latter
    > *does* support a pagecache, and so the one-line patch is appropriate.

    just a little bit more then one line :) nfs needs to do the same
    revalidation as in nfs_file_read and then call generic_file_sendfile.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:31    [W:0.018 / U:7.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site