• Jakob Unterwurzacher's avatar
    fuse: rewrite trySplice() without recursion · c4179aac
    Jakob Unterwurzacher authored
    The old implementation was buggy and failed xfstests generic/001
    (last 1kB of some files were filled with zeros).
    
    The new one introduces a second splice layer to get rid of recursion
    and passes generic/001.
    
    Fixes issue #54.
    c4179aac
splice_linux.go 2.34 KB