public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* splice blocks indefinitely when len > 64k?
@ 2006-10-30 16:39 Daniel Drake
  2006-10-30 19:11 ` Phillip Susi
  2006-10-30 19:54 ` Jens Axboe
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Drake @ 2006-10-30 16:39 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel

Hi,

I'm experimenting with splice and have run into some unusual behaviour.

I am using the utilities in git://brick.kernel.dk/data/git/splice.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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-10-31  7:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 16:39 splice blocks indefinitely when len > 64k? Daniel Drake
2006-10-30 19:11 ` Phillip Susi
2006-10-30 19:32   ` Daniel Drake
2006-10-30 19:55   ` Jens Axboe
2006-10-30 19:54 ` Jens Axboe
2006-10-30 21:08   ` Stephen Hemminger
2006-10-31  7:27     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox