[lkml]   [2006]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: splice blocks indefinitely when len > 64k?
    While it should not simply hang, the splice size needs to be an even 
    multiple of the page size.

    Daniel Drake wrote:
    > Hi,
    > I'm experimenting with splice and have run into some unusual behaviour.
    > I am using the utilities in git://
    > In splice.h, when changing SPLICE_SIZE from:
    > #define SPLICE_SIZE (64*1024)
    > to
    > #define SPLICE_SIZE ((64*1024)+1)
    > splice-cp hangs indefinitely when copying files sized 65537 bytes or
    > more. It hangs on the first splice() call.
    > Is this a bug? I'd like to be able to copy much more than 64kb on a
    > single splice call.
    > Thanks!
    > Daniel

    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: 2006-10-30 20:13    [W:0.022 / U:10.872 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site