• Christoph Hellwig's avatar
    VFS: implement sendfile file operation · 6b1ca206
    Christoph Hellwig authored
    Currently the sendfile syscalls hardcode assumptions about the
    implementation of the read file operations implementation.  Although
    it checks for the presence of a readpage address-space operation
    filesystems in Linux are free to implement read differently from
    the generic version (generic_file_read).  Many filesystems such
    as tmpfs, smbfs or xfs chose to implement it differently and need
    additional locking, revalidation or checks. 
    6b1ca206
file.c 2.66 KB